We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4fe6e2 commit 6c3fc74Copy full SHA for 6c3fc74
1 file changed
docs/library/sys.rst
@@ -12,6 +12,11 @@ Functions
12
Raise a ``SystemExit`` exception. If an argument is given, it is the
13
value given to ``SystemExit``.
14
15
+.. function:: print_exception(exc, [file])
16
+
17
+ Print exception with a traceback to a file-like object ``file`` (or
18
+ ``sys.stdout`` by default).
19
20
Constants
21
---------
22
0 commit comments