mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
10 lines
179 B
Python
10 lines
179 B
Python
class C:
|
|
def g(self):
|
|
self.foo = 0
|
|
|
|
def __init__(self):
|
|
self.g()
|
|
print(self.foo) # -> self.foo in g
|
|
# <ref>
|
|
self.foo = 1
|