Commit 814ef237 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Handle AttributeError during calltip lookup

parent ca30acfe
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment