diff options
Diffstat (limited to 'docs/library/sys.rst')
-rw-r--r-- | docs/library/sys.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/sys.rst b/docs/library/sys.rst index a6543da275..c060f1d9ef 100644 --- a/docs/library/sys.rst +++ b/docs/library/sys.rst @@ -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 |