summaryrefslogtreecommitdiff
path: root/docs/library/builtins.rst
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2018-02-20 17:34:59 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2018-02-20 17:34:59 -0800
commit20dd3b1e434f57a0609fd5306f47863396d1022e (patch)
tree47d7be30787716fcd95e01723942cdff06b0bd85 /docs/library/builtins.rst
parentee90056866d2a8a1e0eec21f0ce5c60b741ea411 (diff)
Delete a bunch of docs, drivers and examples not relevant to CircuitPython.
This fixes #345 and fixes #215.
Diffstat (limited to 'docs/library/builtins.rst')
-rw-r--r--docs/library/builtins.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst
index 365248dc7..b45b6fe38 100644
--- a/docs/library/builtins.rst
+++ b/docs/library/builtins.rst
@@ -1,6 +1,12 @@
Builtin functions and exceptions
================================
+.. warning::
+
+ These builtins are inherited from MicroPython and may not work in CircuitPython
+ as documented or at all! If work differently from CPython, then their behavior
+ may change.
+
All builtin functions and exceptions are described here. They are also
available via ``builtins`` module.
@@ -21,7 +27,7 @@ Functions and types
.. class:: bytes()
- |see_cpython| `python:bytes`.
+ |see_cpython| `bytes`.
.. function:: callable()
@@ -176,7 +182,7 @@ Exceptions
.. exception:: OSError
- |see_cpython| `python:OSError`. MicroPython doesn't implement ``errno``
+ |see_cpython| `OSError`. MicroPython doesn't implement ``errno``
attribute, instead use the standard way to access exception arguments:
``exc.args[0]``.
@@ -188,11 +194,11 @@ Exceptions
.. exception:: SystemExit
- |see_cpython| `python:SystemExit`.
+ |see_cpython| :py:class:`python:SystemExit`.
.. exception:: TypeError
- |see_cpython| `python:TypeError`.
+ |see_cpython| :py:class:`python:TypeError`.
.. exception:: ValueError