summaryrefslogtreecommitdiff
path: root/astroid/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/builder.py')
-rw-r--r--astroid/builder.py2
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: