summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/builtins.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/builtins.rst')
-rw-r--r--docs/library/builtins.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst
index 658d46ecd1..365248dc76 100644
--- a/docs/library/builtins.rst
+++ b/docs/library/builtins.rst
@@ -21,6 +21,8 @@ Functions and types
.. class:: bytes()
+ |see_cpython| `python:bytes`.
+
.. function:: callable()
.. function:: chr()
@@ -174,6 +176,10 @@ Exceptions
.. exception:: OSError
+ |see_cpython| `python:OSError`. MicroPython doesn't implement ``errno``
+ attribute, instead use the standard way to access exception arguments:
+ ``exc.args[0]``.
+
.. exception:: RuntimeError
.. exception:: StopIteration
@@ -182,8 +188,12 @@ Exceptions
.. exception:: SystemExit
+ |see_cpython| `python:SystemExit`.
+
.. exception:: TypeError
+ |see_cpython| `python:TypeError`.
+
.. exception:: ValueError
.. exception:: ZeroDivisionError