Ticket #13678: 13678-sagenb.patch

File 13678-sagenb.patch, 453 bytes (added by robertwb, 9 years ago)

Apply to sagenb repo.

  • sagenb/notebook/interact.py

    old new  
    26392639        ...         html('There is no solution to $$%s x=%s$$'%(latex(A), latex(v)))
    26402640        <html>...
    26412641    """
     2642    if not isinstance(f, types.FunctionType) and callable(f):
     2643        f = f.__call__
    26422644    (args, varargs, varkw, defaults) = inspect.getargspec(f)
    26432645
    26442646    if defaults is None: