Files
openide/python/testData/refactoring/extractmethod/File.after.py
Mikhail Golubev 45cc683033 PY-10829 Extracted function is inserted *after* the function where it is used
I updated test data accordingly and removed now obsolete tests about
skipping preceding comments.
2015-04-02 20:08:32 +03:00

11 lines
201 B
Python

def __init__(self):
for base in self__class__.__bases__:
bar(base, self)
def bar(base_new, self_new):
try:
base_new.__init__(self_new)
except AttributeError:
pass