1 parent 2a3e2b9 commit 6d3ae56Copy full SHA for 6d3ae56
1 file changed
docs/library/sys.rst
@@ -17,6 +17,10 @@ Functions
17
Print exception with a traceback to a file-like object ``file`` (or
18
``sys.stdout`` by default).
19
20
+ .. admonition:: Difference to CPython
21
+
22
+ This function appears in the ``traceback`` module in CPython.
23
24
Constants
25
---------
26
@@ -34,7 +38,9 @@ Constants
34
38
35
39
.. data:: platform
36
40
37
- the platform that Micro Python is running on
41
+ The platform that Micro Python is running on. This is "pyboard" on the
42
+ pyboard and provides a robust way of determining if a script is running
43
+ on the pyboard or not.
44
45
.. data:: stderr
46
0 commit comments