working extract refactorings, affects #103

This commit is contained in:
David Halter
2013-01-07 01:32:20 +01:00
parent 54ac9b3292
commit fc58d1b8e7
2 changed files with 42 additions and 9 deletions

View File

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