docs/sys: Clean up print_exception() description.

pull/2038/head
Paul Sokolovsky 2016-05-01 13:44:06 +03:00
rodzic ad2889c141
commit 4fb9452bff
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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