create a customized UserContextParser for user_stmt and user_scope
This commit is contained in:
1 parent
269e84da85
commit
4bf72eeaed
3 files changed
+61
-46
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ def extract(script, new_name):
|
||||
new_lines = common.source_to_unicode(script.source).splitlines()
|
||||
old_lines = new_lines[:]
|
||||
|
||||
user_stmt = script._parser.user_stmt
|
||||
user_stmt = script._parser.user_stmt()
|
||||
|
||||
# TODO care for multiline extracts
|
||||
dct = {}
|
||||
|
||||
Reference in new issue
Block a user