mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-25 12:27:14 +08:00
create a customized UserContextParser for user_stmt and user_scope
This commit is contained in:
@@ -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