Skip to content
Snippets Groups Projects
Commit 6c3fc746 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs: Add sys.print_exception().

parent b4fe6e28
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,11 @@ Functions
Raise a ``SystemExit`` exception. If an argument is given, it is the
value given to ``SystemExit``.
.. function:: print_exception(exc, [file])
Print exception with a traceback to a file-like object ``file`` (or
``sys.stdout`` by default).
Constants
---------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment