summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/CallTips.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/CallTips.py')
-rw-r--r--Lib/idlelib/CallTips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py
index d2fe924..7bcc1e2 100644
--- a/Lib/idlelib/CallTips.py
+++ b/Lib/idlelib/CallTips.py
@@ -112,7 +112,7 @@ class CallTips:
namespace.update(__main__.__dict__)
try:
return eval(name, namespace)
- except NameError:
+ except (NameError, AttributeError):
return None
def _find_constructor(class_ob):