deducer.py | raw changeset files shortlog |
1.1 --- a/deducer.py Mon Nov 28 23:51:45 2016 +0100 1.2 +++ b/deducer.py Tue Nov 29 00:47:19 2016 +0100 1.3 @@ -1354,7 +1354,7 @@ 1.4 "Return whether 'path' refers to a method." 1.5 1.6 class_name, method_name = path.rsplit(".", 1) 1.7 - return self.importer.classes.has_key(class_name) and class_name 1.8 + return class_name != "__builtins__.core.type" and self.importer.classes.has_key(class_name) and class_name 1.9 1.10 def init_reference_details(self, location): 1.11