Skip to content

Commit

Permalink
docs/builtins: Add AssertionError, SyntaxError, ZeroDivisionError.
Browse files Browse the repository at this point in the history
Also, update heading of 1st sections to "Functions and types".
  • Loading branch information
Paul Sokolovsky committed Jul 1, 2017
1 parent 8b7d311 commit d42bb58
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/library/builtins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Builtin functions and exceptions
All builtin functions and exceptions are described here. They are also
available via ``builtins`` module.

Functions and classes
---------------------
Functions and types
-------------------

.. function:: abs()

Expand Down Expand Up @@ -152,6 +152,8 @@ Functions and classes
Exceptions
----------

.. exception:: AssertionError

.. exception:: AttributeError

.. exception:: Exception
Expand All @@ -176,8 +178,12 @@ Exceptions

.. exception:: StopIteration

.. exception:: SyntaxError

.. exception:: SystemExit

.. exception:: TypeError

.. exception:: ValueError

.. exception:: ZeroDivisionError

0 comments on commit d42bb58

Please sign in to comment.