Quick actions

cmd+k|ctrl+k

Navigation

Languages

Python 3 对象:6

Snippet info

Language

Python

Visibility

public

Author

fenghestudio

Created

2019-11-24T08:11:52Z

Updated

2019-11-24T08:11:52Z

class Foo(object):
    count = 0

f1 = Foo()
f2 = Foo()
Foo.count = 1
print(f1.count, f2.count)
INFO