Files
openide/python/testData/refactoring/extractmethod/IfElseConditionExpression.before.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

5 lines
108 B
Python

def foo(some_var):
if <selection>some_var</selection>:
print('w00t')
else:
print(42)