Get some first extract_function stuff working
This commit is contained in:
1 parent
dcffe8e60b
commit
ce1093406a
3 files changed
+117
-23
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# -------------------------------------------------- in-module-1
|
||||
#? 11 text {'new_name': 'a'}
|
||||
test(100, (30 + b, c) + 1)
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 11 text {'new_name': 'a'}
|
||||
def a():
|
||||
return 30 + b
|
||||
|
||||
|
||||
test(100, (a(), c) + 1)
|
||||
# -------------------------------------------------- in-module-2
|
||||
#? 0 text {'new_name': 'ab'}
|
||||
100 + 1 * 2
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
#? 0 text {'new_name': 'ab'}
|
||||
def ab():
|
||||
return 100 + 1 * 2
|
||||
|
||||
|
||||
ab()
|
||||
Reference in new issue
Block a user