Files
jedi/test/refactor/extract.py
2013-01-07 01:47:33 +01:00

22 lines
344 B
Python

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