mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
244 B
Python
13 lines
244 B
Python
class Foo:
|
|
def __init__(self):
|
|
self.xyzzy = 1
|
|
|
|
def bar(self):
|
|
if self.xyzzy:
|
|
self.xyzzy = None
|
|
else:
|
|
self.xyzzy += 1
|
|
|
|
def baz(self):
|
|
print(self.xyzzy)
|
|
# <ref> |