summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-01-19 04:08:33 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2019-01-19 04:08:33 +0100
commit41a6d4d127d285dc4bcbff875a6990afa0035e96 (patch)
treef47801d72e6d438ce1e6925a7677efd16c849552 /astroid/objects.py
parent931415b9a98ee5c9ed5bfef89c8e0901dd6a3c60 (diff)
downloadastroid-git-41a6d4d127d285dc4bcbff875a6990afa0035e96.tar.gz
Add a method to the manager to retrieve the builtins module
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index 1a071b2c..b68d3596 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -43,7 +43,7 @@ class FrozenSet(node_classes._BaseContainer):
@decorators.cachedproperty
def _proxied(self): # pylint: disable=method-hidden
- ast_builtins = MANAGER.astroid_cache[BUILTINS]
+ ast_builtins = MANAGER.builtins_module
return ast_builtins.getattr("frozenset")[0]
@@ -114,7 +114,7 @@ class Super(node_classes.NodeNG):
@decorators.cachedproperty
def _proxied(self):
- ast_builtins = MANAGER.astroid_cache[BUILTINS]
+ ast_builtins = MANAGER.builtins_module
return ast_builtins.getattr("super")[0]
def pytype(self):