docs/builtins: List builtin exceptions.

If for nothing else, then at least to cross-reference them.
pull/1/head
Paul Sokolovsky 2017-06-24 23:45:38 +03:00
parent 602f7e2189
commit bc790b5145
1 changed files with 41 additions and 4 deletions

View File

@ -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