traceback.TracebackException.lineno
  • References/Python/Python/Runtime

lineno For syntax errors - the line number where the error occurred.

2025-01-10 15:47:30
inspect.Parameter.kind
  • References/Python/Python/Runtime

kind Describes how argument values are bound to the parameter. Possible values (accessible via Parameter, like

2025-01-10 15:47:30
warnings.filterwarnings()
  • References/Python/Python/Runtime

warnings.filterwarnings(action, message='', category=Warning, module='', lineno=0, append=False) Insert an entry into the list

2025-01-10 15:47:30
inspect.isdatadescriptor()
  • References/Python/Python/Runtime

inspect.isdatadescriptor(object) Return true if the object is a data descriptor. Data descriptors

2025-01-10 15:47:30
inspect.getmro()
  • References/Python/Python/Runtime

inspect.getmro(cls) Return a tuple of class cls’s base classes, including cls, in method resolution order. No class appears

2025-01-10 15:47:30
site.main()
  • References/Python/Python/Runtime

site.main() Adds all the standard site-specific directories to the module search path. This function is called automatically

2025-01-10 15:47:30
contextlib.ExitStack.callback()
  • References/Python/Python/Runtime

callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack.

2025-01-10 15:47:30
traceback.format_exc()
  • References/Python/Python/Runtime

traceback.format_exc(limit=None, chain=True) This is like print_exc(limit) but returns a string instead of printing

2025-01-10 15:47:30
traceback.print_stack()
  • References/Python/Python/Runtime

traceback.print_stack(f=None, limit=None, file=None) Print up to limit stack trace entries (starting from the invocation

2025-01-10 15:47:30
sys.last_type
  • References/Python/Python/Runtime

sys.last_type sys.last_value sys.last_traceback These three variables

2025-01-10 15:47:30