Files
openide/python/testData/refactoring/extractmethod/Statements.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
138 B
Python

def f():
a = 1
b = 1
foo(a, b)
def foo(a_new, b_new):
puts(a_new + b_new * 123)
print("Hello from extract method")