mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 10:14:50 +07:00
11 lines
198 B
Python
11 lines
198 B
Python
class A:
|
|
|
|
def __init__(self):
|
|
self.__var = 10
|
|
|
|
if __name__ == '__main__':
|
|
a = A()
|
|
print(a._A__var)
|
|
# Evaluate 'a.__var' should give a._A__var_
|
|
print('TEST SUCEEDED')
|