diff options
Diffstat (limited to 'astroid/builder.py')
-rw-r--r-- | astroid/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/builder.py b/astroid/builder.py index 4db40510..9e06ef75 100644 --- a/astroid/builder.py +++ b/astroid/builder.py @@ -227,7 +227,7 @@ class AstroidBuilder(raw_building.InspectBuilder): try: frame = node.frame() for inferred in node.expr.infer(): - if inferred is util.YES: + if inferred is util.Uninferable: continue try: if inferred.__class__ is bases.Instance: |