Skip to content

Commit 9de5eb2

Browse files
committed
docs/sys: Detailed description of print_exception() diff from traceback module.
1 parent 343b5c1 commit 9de5eb2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/library/sys.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ Functions
2121
.. admonition:: Difference to CPython
2222
:class: attention
2323

24-
This function appears in the ``traceback`` module in CPython.
24+
This is simplified version of a function which appears in the
25+
``traceback`` module in CPython. Unlike ``traceback.print_exception()``,
26+
this function takes just exception value instead of exception type,
27+
exception value, and traceback object; `file` argument should be
28+
positional; further arguments are not support. Compliant
29+
``traceback`` module can be found in micropython-lib.
2530

2631
Constants
2732
---------

0 commit comments

Comments
 (0)