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

2 lines
65 B
Python

def f(n):
return n * 2 if <selection>n</selection> else n + 1