FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-89018: Improve documentation of `sqlite3` exceptions by erlend-aasland · Pull Request #27645 · python/cpython · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.
Resolved

.. exception:: NotSupportedError
Expand Down

Back | FazBrowse Home | New Git URL