--- sagenb/notebook/interact.py.old 2012-12-29 02:07:38.537516056 -0800 +++ sagenb/notebook/interact.py 2012-12-29 02:09:06.457513270 -0800 @@ -2639,6 +2639,8 @@ ... html('There is no solution to $$%s x=%s$$'%(latex(A), latex(v))) ... """ + if not isinstance(f, types.FunctionType) and callable(f): + f = f.__call__ (args, varargs, varkw, defaults) = inspect.getargspec(f) if defaults is None: