Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reword ProgrammingError
  • Loading branch information
erlend-aasland committed Jun 1, 2022
commit aa140d4a3acc5f48dc18621d622e790e36cd899a
8 changes: 4 additions & 4 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ Blob Objects
Exceptions
----------

The exception hierarchy is defined by DB-API 2.0.
The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`).

.. exception:: Warning

Expand Down Expand Up @@ -1167,9 +1167,9 @@ The exception hierarchy is defined by DB-API 2.0.

.. exception:: ProgrammingError

Exception raised for ``sqlite3`` API programming errors.
for example syntax errors in SQL statements, and wrong number of bindings
supplied to a query.
Exception raised for ``sqlite3`` API programming errors,
for example supplying the wrong number of bindings to a query,
or trying to operate on a closed :class:`Connection`.
``ProgrammingError`` is a subclass of :exc:`DatabaseError`.
Comment thread
erlend-aasland marked this conversation as resolved.

.. exception:: NotSupportedError
Expand Down