File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ The following exceptions are used mostly as base classes for other exceptions.
6363 :exc: `FloatingPointError `.
6464
6565
66+ .. exception :: BufferError
67+
68+ Raised when a :ref: `buffer <bufferobjects >` related operation cannot be
69+ performed.
70+
71+
6672.. exception :: LookupError
6773
6874 The base class for the exceptions that are raised when a key or index used on
@@ -257,6 +263,18 @@ The following exceptions are the exceptions that are usually raised.
257263 of the exception instance returns only the message.
258264
259265
266+ .. exception :: IndentationError
267+
268+ Base class for syntax errors related to incorrect indentation. This is a
269+ subclass of :exc: `SyntaxError `.
270+
271+
272+ .. exception :: TabError
273+
274+ Raised when indentation contains an inconsistent use of tabs and spaces.
275+ This is a subclass of :exc: `IndentationError `.
276+
277+
260278.. exception :: SystemError
261279
262280 Raised when the interpreter finds an internal error, but the situation does not
You can’t perform that action at this time.
0 commit comments