A lot of small improvements.
This commit is contained in:
1 parent
4ccfbb4962
commit
2e6603cc2e
16 files changed
+174
-149
No files matched your search
@@ -35,7 +35,7 @@ def execute(evaluator, obj, arguments):
|
||||
except AttributeError:
|
||||
pass
|
||||
else:
|
||||
if obj.parent == evaluator.BUILTINS:
|
||||
if obj.parent_context == evaluator.BUILTINS:
|
||||
module_name = 'builtins'
|
||||
elif isinstance(obj.parent, tree.Module):
|
||||
module_name = str(obj.parent.name)
|
||||
|
||||
Reference in new issue
Block a user