summaryrefslogtreecommitdiff
path: root/scoped_nodes.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2013-08-13 16:09:25 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2013-08-13 16:09:25 +0300
commitf365d647f04ad798a231c40e0666bccaa32eb715 (patch)
tree89b33edf1e69e3622ce030a1b99de7615a3fffdc /scoped_nodes.py
parent1100458bb85aadbf49ad5c08ec43f75995bac1f5 (diff)
downloadastroid-git-f365d647f04ad798a231c40e0666bccaa32eb715.tar.gz
Add tests.
--HG-- branch : metaclass
Diffstat (limited to 'scoped_nodes.py')
-rw-r--r--scoped_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoped_nodes.py b/scoped_nodes.py
index 939fc74b..b6ec0a8a 100644
--- a/scoped_nodes.py
+++ b/scoped_nodes.py
@@ -992,7 +992,7 @@ class Class(Statement, LocalsDictNodeNG, FilterStmtsMixin):
raise InferenceError()
_metaclass = None
- def _metaclass_search(self):
+ def metaclass(self):
""" Return the metaclass of this class """
if self._metaclass:
# Expects this from Py3k TreeRebuilder