diff options
Diffstat (limited to 'docs/library/sys.rst')
-rw-r--r-- | docs/library/sys.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/library/sys.rst b/docs/library/sys.rst index b5a9138c07..1d7579754f 100644 --- a/docs/library/sys.rst +++ b/docs/library/sys.rst @@ -21,7 +21,12 @@ Functions .. admonition:: Difference to CPython :class: attention - This function appears in the ``traceback`` module in CPython. + This is simplified version of a function which appears in the + ``traceback`` module in CPython. Unlike ``traceback.print_exception()``, + this function takes just exception value instead of exception type, + exception value, and traceback object; `file` argument should be + positional; further arguments are not supported. CPython-compatible + ``traceback`` module can be found in micropython-lib. Constants --------- |