diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-01 13:44:06 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-01 13:44:06 +0300 |
commit | 4fb9452bff8c9e2665ea7c90d2485df8490b65d8 (patch) | |
tree | 23c81cf31e7d94205d58302716074855efce3fa7 | |
parent | ad2889c1416c8576c783aa15747d2ceb9de9d6ee (diff) | |
download | micropython-4fb9452bff8c9e2665ea7c90d2485df8490b65d8.tar.gz micropython-4fb9452bff8c9e2665ea7c90d2485df8490b65d8.zip |
docs/sys: Clean up print_exception() description.
-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 |