diff options
Diffstat (limited to 'astroid/scoped_nodes.py')
-rw-r--r-- | astroid/scoped_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py index 99a275c9..e6ac1d38 100644 --- a/astroid/scoped_nodes.py +++ b/astroid/scoped_nodes.py @@ -2068,7 +2068,7 @@ class ClassDef(mixins.FilterStmtsMixin, LocalsDictNodeNG, """ # FIXME: should be possible to choose the resolution order # FIXME: inference make infinite loops possible here - yielded = set([self]) + yielded = {self} if context is None: context = contextmod.InferenceContext() if not self.bases and self.qname() != 'builtins.object': |