From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 22 Mar 2023 12:00:25 +0000 (-0700) Subject: Docs: improve accuracy of sqlite3.Connection.interrupt() (GH-102904) X-Git-Tag: v3.11.3~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=592c34469bad3ba068fd1e72d747a1a01e52a242;p=thirdparty%2FPython%2Fcpython.git Docs: improve accuracy of sqlite3.Connection.interrupt() (GH-102904) (cherry picked from commit 7b2d53daccf5a6479e179535068fd9a841db44fc) Co-authored-by: Erlend E. Aasland Co-authored-by: C.A.M. Gerlach --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index cdb6f9d0e179..a87e8429e6df 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -867,7 +867,7 @@ Connection objects Call this method from a different thread to abort any queries that might be executing on the connection. - Aborted queries will raise an exception. + Aborted queries will raise an :exc:`OperationalError`. .. method:: set_authorizer(authorizer_callback)