summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-24 23:45:38 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-24 23:45:38 +0300
commitbc790b5145863976fab16baf146c84ba67ccf6df (patch)
tree98f9d4fd38cf33281179e3758bafe31cebe9bd4e /docs/library
parent602f7e2189ad235348b329bcd3eda536265b89e5 (diff)
downloadmicropython-bc790b5145863976fab16baf146c84ba67ccf6df.tar.gz
micropython-bc790b5145863976fab16baf146c84ba67ccf6df.zip
docs/builtins: List builtin exceptions.
If for nothing else, then at least to cross-reference them.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/builtins.rst45
1 files changed, 41 insertions, 4 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst
index 46f762660a..32442e3a80 100644
--- a/docs/library/builtins.rst
+++ b/docs/library/builtins.rst
@@ -1,8 +1,11 @@
-Builtin Functions
-=================
+Builtin functions and exceptions
+================================
-All builtin functions are described here. They are also available via
-``builtins`` module.
+All builtin functions and exceptions are described here. They are also
+available via ``builtins`` module.
+
+Functions and classes
+---------------------
.. function:: abs()
@@ -144,3 +147,37 @@ All builtin functions are described here. They are also available via
.. function:: type()
.. function:: zip()
+
+
+Exceptions
+----------
+
+.. exception:: AttributeError
+
+.. exception:: Exception
+
+.. exception:: ImportError
+
+.. exception:: IndexError
+
+.. exception:: KeyboardInterrupt
+
+.. exception:: KeyError
+
+.. exception:: MemoryError
+
+.. exception:: NameError
+
+.. exception:: NotImplementedError
+
+.. exception:: OSError
+
+.. exception:: RuntimeError
+
+.. exception:: StopIteration
+
+.. exception:: SystemExit
+
+.. exception:: TypeError
+
+.. exception:: ValueError