Files
openide/python/testData/refactoring/extractmethod/IfElseConditionExpression.after.py
andrey.matveev 272da294c3 PY-9045 Fix false positive cannot perform refactoring when execution flow is interrupted
Delete targets condition in createCodeFragment and filter duplicates

GitOrigin-RevId: 474f3634a06c9cff25bafc94e1651d4fe61fb2a0
2023-07-24 09:26:14 +00:00

9 lines
139 B
Python

def foo(some_var):
if bar(some_var):
print('w00t')
else:
print(42)
def bar(some_var_new):
return some_var_new