diff options
-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 4ac1bd4..a7f6ee8 100644 --- a/scoped_nodes.py +++ b/scoped_nodes.py @@ -1006,7 +1006,7 @@ class Class(Statement, LocalsDictNodeNG, FilterStmtsMixin): except NotFoundError: return try: - infered = meta.infered()[0] + infered = meta.infer().next() except InferenceError: return if infered is YES: # don't expose this |