mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
12 lines
161 B
Python
12 lines
161 B
Python
class C:
|
|
def __init__(self):
|
|
self.foo = 42
|
|
self.bar = 'spam'
|
|
|
|
|
|
def method(foo, bar, x):
|
|
print(foo, bar)
|
|
|
|
|
|
c = C()
|
|
method(c.foo, c.bar, 1) |