parameters: (limit=None, file=None)
docstring: Shorthand for 'print_exception(sys.exc_type, sys.exc_value, sys.exc_traceback, limit, file)'.
      (In fact, it uses sys.exc_info() to retrieve the same information
      in a thread-safe way.)
docstring_summary: Shorthand for 'print_exception(sys.exc_type, sys.exc_value, sys.exc_traceback, limit, file)'.
      (In fact, it uses sys.exc_info() to retrieve the same information
      in a thread-safe way.)
docstring_tokens: Shorthand for print_exception ( sys . exc_type sys . exc_value sys . exc_traceback limit file ) . ( In fact it uses sys . exc_info () to retrieve the same information in a thread - safe way . )
function: def print_exc(limit=None, file=None):
      """Shorthand for 'print_exception(sys.exc_type, sys.exc_value, sys.exc_traceback, limit, file)'.
      (In fact, it uses sys.exc_info() to retrieve the same information
      in a thread-safe way.)"""
      if file is None:
          file = sys.stderr
      try:
          etype, value, tb = sys.exc_info()
          print_exception(etype, value, tb, limit, file)
      finally:
          etype = value = tb = None
function_tokens: def print_exc ( limit = None , file = None ) : if file is None : file = sys . stderr try : etype , value , tb = sys . exc_info ( ) print_exception ( etype , value , tb , limit , file ) finally : etype = value = tb = None