Commits

Andreas Stührk committed 7c2295e

Catch SyntaxError in Repl.get_args().

Comments (0)

Files changed (1)

 
         try:
             f = self.get_object(func)
-        except (AttributeError, NameError):
+        except (AttributeError, NameError, SyntaxError):
             return False
 
         if inspect.isclass(f):