Skip to content

Commit

Permalink
docs: Add CPy diff note for print_exception; embellish sys.platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Dec 19, 2014
1 parent 2a3e2b9 commit 6d3ae56
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Functions
Print exception with a traceback to a file-like object ``file`` (or
``sys.stdout`` by default).

.. admonition:: Difference to CPython

This function appears in the ``traceback`` module in CPython.

Constants
---------

Expand All @@ -34,7 +38,9 @@ Constants

.. data:: platform

the platform that Micro Python is running on
The platform that Micro Python is running on. This is "pyboard" on the
pyboard and provides a robust way of determining if a script is running
on the pyboard or not.

.. data:: stderr

Expand Down

0 comments on commit 6d3ae56

Please sign in to comment.