Commit 4fb9452b authored by Paul Sokolovsky's avatar Paul Sokolovsky

docs/sys: Clean up print_exception() description.

parent ad2889c1
......@@ -13,9 +13,9 @@ Functions
function raise as ``SystemExit`` exception. If an argument is given, its
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).
.. admonition:: Difference to CPython
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment