]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: improve accuracy of sqlite3.Connection.interrupt() (GH-102904)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Mar 2023 12:00:25 +0000 (05:00 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Mar 2023 12:00:25 +0000 (05:00 -0700)
(cherry picked from commit 7b2d53daccf5a6479e179535068fd9a841db44fc)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Doc/library/sqlite3.rst

index cdb6f9d0e179a39159eb62663b6be7962c42905b..a87e8429e6dfe30263d980f266ecae99c6264f85 100644 (file)
@@ -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)