diff options
Diffstat (limited to 'scoped_nodes.py')
-rw-r--r-- | scoped_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scoped_nodes.py b/scoped_nodes.py index b6ec0a8a..4ac1bd44 100644 --- a/scoped_nodes.py +++ b/scoped_nodes.py @@ -997,7 +997,7 @@ class Class(Statement, LocalsDictNodeNG, FilterStmtsMixin): if self._metaclass: # Expects this from Py3k TreeRebuilder try: - return self._metaclass.infered()[0] + return next(self._metaclass.infer()) except InferenceError: return |