Georg Brandl  committed 29db97c

#10723: add missing builtin exceptions.

  • Participants
  • Parent commits 736964f
  • Branches default

Comments (0)

Files changed (1)

File Doc/library/exceptions.rst

+.. exception:: BufferError
+   Raised when a :ref:`buffer <bufferobjects>` related operation cannot be
+   performed.
 .. exception:: LookupError
    The base class for the exceptions that are raised when a key or index used on
    of the exception instance returns only the message.
+.. exception:: IndentationError
+   Base class for syntax errors related to incorrect indentation.  This is a
+   subclass of :exc:`SyntaxError`.
+.. exception:: TabError
+   Raised when indentation contains an inconsistent use of tabs and spaces.
+   This is a subclass of :exc:`IndentationError`.
 .. exception:: SystemError
    Raised when the interpreter finds an internal error, but the situation does not