Files
openide/python/testData/refactoring/makeFunctionTopLevel/methodMultipleAttributesConstructorQualifier.after.py

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)