]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93857: Fix broken audit-event targets in sqlite3 docs (GH-93859)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Jun 2022 14:09:37 +0000 (07:09 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 14:09:37 +0000 (07:09 -0700)
Corrected targets for the following audit-events:

- sqlite3.enable_load_extension => sqlite3.Connection.enable_load_extension
- sqlite3.load_extension => sqlite3.Connection.load_extension
(cherry picked from commit ce4d11f98b30ec62f56a0653a212f0f78ca08b59)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Doc/library/sqlite3.rst

index e2b023b2536b23a7dcde1540608174fb4e6cc45c..4e3de6baf288fad414179c6cfead25d8cf47afef 100644 (file)
@@ -618,7 +618,7 @@ Connection Objects
 
       Loadable extensions are disabled by default. See [#f1]_.
 
-      .. audit-event:: sqlite3.enable_load_extension connection,enabled sqlite3.enable_load_extension
+      .. audit-event:: sqlite3.enable_load_extension connection,enabled sqlite3.Connection.enable_load_extension
 
       .. versionadded:: 3.2
 
@@ -635,7 +635,7 @@ Connection Objects
 
       Loadable extensions are disabled by default. See [#f1]_.
 
-      .. audit-event:: sqlite3.load_extension connection,path sqlite3.load_extension
+      .. audit-event:: sqlite3.load_extension connection,path sqlite3.Connection.load_extension
 
       .. versionadded:: 3.2