Files
jedi/test/refactor/extract.py
2013-01-06 17:35:55 +01:00

19 lines
273 B
Python

# --- simple
def test():
#? 25 a
return test(1, (30 + b, c) + 1)
# +++
def test():
a = (30 + b, c) + 1
return test(a)
# --- multiline
def test():
#? 30 x
return test(1, (30 + b, c) + 1)
# +++
def test():
x = (30 + b, c) + 1
return test(x)