mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
get rid of set_vars parent setting (use token_list instead).
This commit is contained in:
@@ -770,9 +770,6 @@ class Statement(Simple):
|
||||
for t in token_list:
|
||||
if isinstance(t, Name):
|
||||
t.parent = self.use_as_parent
|
||||
for t in set_vars + used_vars:
|
||||
if isinstance(t, Name):
|
||||
t.parent = self.use_as_parent
|
||||
self.set_vars = self._remove_executions_from_set_vars(set_vars)
|
||||
self.parent = parent
|
||||
self.docstr = ''
|
||||
|
||||
Reference in New Issue
Block a user