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

docs/sys: Clean up print_exception() description.

parent ad2889c1
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,9 @@ Functions ...@@ -13,9 +13,9 @@ Functions
function raise as ``SystemExit`` exception. If an argument is given, its function raise as ``SystemExit`` exception. If an argument is given, its
value given as an argument to ``SystemExit``. value given as an argument to ``SystemExit``.
.. function:: print_exception(exc, [file]) .. function:: print_exception(exc, file=sys.stdout)
Print exception with a traceback to a file-like object ``file`` (or Print exception with a traceback to a file-like object `file` (or
``sys.stdout`` by default). ``sys.stdout`` by default).
.. admonition:: Difference to CPython .. admonition:: Difference to CPython
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment