docs/sys: Clean up print_exception() description.

This commit is contained in:
Paul Sokolovsky 2016-05-01 13:44:06 +03:00
parent ad2889c141
commit 4fb9452bff
1 changed files with 2 additions and 2 deletions

View File

@ -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