parameters: (limit=None, file=None, chain=True)
docstring: This is a shorthand for 'print_exception(sys.last_type,
      sys.last_value, sys.last_traceback, limit, file)'.
docstring_summary: This is a shorthand for 'print_exception(sys.last_type,
      sys.last_value, sys.last_traceback, limit, file)'.
docstring_tokens: This is a shorthand for print_exception ( sys . last_type sys . last_value sys . last_traceback limit file ) .
function: def print_last(limit=None, file=None, chain=True):
      """This is a shorthand for 'print_exception(sys.last_type,
      sys.last_value, sys.last_traceback, limit, file)'."""
      if not hasattr(sys, "last_type"):
          raise ValueError("no last exception")
      print_exception(sys.last_type, sys.last_value, sys.last_traceback,
                      limit, file, chain)
function_tokens: def print_last ( limit = None , file = None , chain = True ) : if not hasattr ( sys , "last_type" ) : raise ValueError ( "no last exception" ) print_exception ( sys . last_type , sys . last_value , sys . last_traceback , limit , file , chain )