]> 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:24:50 +0000 (07:24 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 14:24:50 +0000 (07:24 -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 959a2599b1111245f879a11308cba037cb969837..6e3f3cf6dded6686ebb0154b5ed2a62669741884 100644 (file)
@@ -527,7 +527,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
 
@@ -544,7 +544,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