Files
openide/python/testData/refactoring/extractmethod/DuplicateCheckParam.after.py
chbndrhnns 7da7493efe PY-53711 Fix: Cannot extract a method if arguments are on separate line
GitOrigin-RevId: d48d96ba69345ec949272b56635c2efc8b3b433c
2025-04-07 20:51:34 +00:00

11 lines
153 B
Python

def f():
a = do_smth()
b1 = foo(a)
a = do_smth()
b = foo(a + 1)
do_smth_with(b1, b)
def foo(a_new):
return do_smth_with(a_new)