mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-23 18:08:27 +08:00
used_names -> get_used_names().
This commit is contained in:
@@ -99,7 +99,7 @@ def _check_for_setattr(instance):
|
||||
|
||||
node = module.tree_node
|
||||
try:
|
||||
stmts = node.used_names['setattr']
|
||||
stmts = node.get_used_names()['setattr']
|
||||
except KeyError:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user