Skip to content

Commit bc790b5

Browse files
committed
docs/builtins: List builtin exceptions.
If for nothing else, then at least to cross-reference them.
1 parent 602f7e2 commit bc790b5

1 file changed

Lines changed: 41 additions & 4 deletions

File tree

docs/library/builtins.rst

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
Builtin Functions
2-
=================
1+
Builtin functions and exceptions
2+
================================
33

4-
All builtin functions are described here. They are also available via
5-
``builtins`` module.
4+
All builtin functions and exceptions are described here. They are also
5+
available via ``builtins`` module.
6+
7+
Functions and classes
8+
---------------------
69

710
.. function:: abs()
811

@@ -144,3 +147,37 @@ All builtin functions are described here. They are also available via
144147
.. function:: type()
145148

146149
.. function:: zip()
150+
151+
152+
Exceptions
153+
----------
154+
155+
.. exception:: AttributeError
156+
157+
.. exception:: Exception
158+
159+
.. exception:: ImportError
160+
161+
.. exception:: IndexError
162+
163+
.. exception:: KeyboardInterrupt
164+
165+
.. exception:: KeyError
166+
167+
.. exception:: MemoryError
168+
169+
.. exception:: NameError
170+
171+
.. exception:: NotImplementedError
172+
173+
.. exception:: OSError
174+
175+
.. exception:: RuntimeError
176+
177+
.. exception:: StopIteration
178+
179+
.. exception:: SystemExit
180+
181+
.. exception:: TypeError
182+
183+
.. exception:: ValueError

0 commit comments

Comments
 (0)