Skip to content

Commit d42bb58

Browse files
committed
docs/builtins: Add AssertionError, SyntaxError, ZeroDivisionError.
Also, update heading of 1st sections to "Functions and types".
1 parent 8b7d311 commit d42bb58

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/library/builtins.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Builtin functions and exceptions
44
All builtin functions and exceptions are described here. They are also
55
available via ``builtins`` module.
66

7-
Functions and classes
8-
---------------------
7+
Functions and types
8+
-------------------
99

1010
.. function:: abs()
1111

@@ -152,6 +152,8 @@ Functions and classes
152152
Exceptions
153153
----------
154154

155+
.. exception:: AssertionError
156+
155157
.. exception:: AttributeError
156158

157159
.. exception:: Exception
@@ -176,8 +178,12 @@ Exceptions
176178

177179
.. exception:: StopIteration
178180

181+
.. exception:: SyntaxError
182+
179183
.. exception:: SystemExit
180184

181185
.. exception:: TypeError
182186

183187
.. exception:: ValueError
188+
189+
.. exception:: ZeroDivisionError

0 commit comments

Comments
 (0)