2016-09-30 | Paul Boddie | raw files shortlog changelog graph | Permit class base lookup within local class namespaces. | |
inspector.py (file) |
1.1 --- a/inspector.py Fri Sep 30 15:22:05 2016 +0200 1.2 +++ b/inspector.py Fri Sep 30 15:26:59 2016 +0200 1.3 @@ -1286,7 +1286,7 @@ 1.4 # Record usage of the name and attempt to identify it. 1.5 1.6 self.record_name(node.name) 1.7 - return self.get_global_or_builtin(node.name) 1.8 + return self.find_name(node.name) 1.9 else: 1.10 return None 1.11