Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
6c3fc746
Commit
6c3fc746
authored
Dec 07, 2014
by
Paul Sokolovsky
Browse files
docs: Add sys.print_exception().
parent
b4fe6e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/library/sys.rst
View file @
6c3fc746
...
...
@@ -12,6 +12,11 @@ Functions
Raise a ``SystemExit`` exception. If an argument is given, it is the
value given to ``SystemExit``.
.. function:: print_exception(exc, [file])
Print exception with a traceback to a file-like object ``file`` (or
``sys.stdout`` by default).
Constants
---------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment