diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-10 23:06:56 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-10 23:06:56 +0300 |
commit | 9de5eb278d4bb7834c1abf15ddefdf4c85b29465 (patch) | |
tree | 42e4e9a86a9148a629794758df73682ab33bea7b /docs/library | |
parent | 343b5c1081331c2c06bda7d7add67da44ae47fea (diff) | |
download | micropython-9de5eb278d4bb7834c1abf15ddefdf4c85b29465.tar.gz micropython-9de5eb278d4bb7834c1abf15ddefdf4c85b29465.zip |
docs/sys: Detailed description of print_exception() diff from traceback module.
Diffstat (limited to 'docs/library')
-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..ebde2b191c 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 support. Compliant + ``traceback`` module can be found in micropython-lib. Constants --------- |