mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
11 lines
124 B
Python
11 lines
124 B
Python
class A:
|
|
def __init__(self):
|
|
self.x = 1
|
|
|
|
def _foo(self):
|
|
print(self.x)
|
|
|
|
a = A()
|
|
a._foo()
|
|
|
|
print(a.x) |