used_names -> get_used_names().

This commit is contained in:
Dave Halter
2017-04-12 08:56:11 +02:00
parent b0ac07228b
commit a0b65b52c6
13 changed files with 13 additions and 16 deletions

View File

@@ -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