From 9de5eb278d4bb7834c1abf15ddefdf4c85b29465 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 10 Jun 2016 23:06:56 +0300 Subject: docs/sys: Detailed description of print_exception() diff from traceback module. --- docs/library/sys.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/library/sys.rst') 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 --------- -- cgit v1.2.3 From 2b6dcdd3e451787d47fba7666ed5f4a2877f9338 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 18 Jun 2016 19:05:50 +0300 Subject: docs/sys: print_exception: Fixes/clarifications. --- docs/library/sys.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/library/sys.rst') diff --git a/docs/library/sys.rst b/docs/library/sys.rst index ebde2b191c..1d7579754f 100644 --- a/docs/library/sys.rst +++ b/docs/library/sys.rst @@ -25,7 +25,7 @@ Functions ``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 + positional; further arguments are not supported. CPython-compatible ``traceback`` module can be found in micropython-lib. Constants -- cgit v1.2.3