Handle AttributeError during calltip lookup

This commit is contained in:
Kurt B. Kaiser 2007-02-07 08:07:13 +00:00
parent ca30acfea8
commit 814ef237a2
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class CallTips:
namespace.update(__main__.__dict__) namespace.update(__main__.__dict__)
try: try:
return eval(name, namespace) return eval(name, namespace)
except NameError: except (NameError, AttributeError):
return None return None
def _find_constructor(class_ob): def _find_constructor(class_ob):