]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93857: Fix broken audit-event targets in sqlite3 docs (#93859)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Wed, 15 Jun 2022 14:01:27 +0000 (16:01 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 14:01:27 +0000 (16:01 +0200)
Corrected targets for the following audit-events:

- sqlite3.enable_load_extension => sqlite3.Connection.enable_load_extension
- sqlite3.load_extension => sqlite3.Connection.load_extension

Doc/library/sqlite3.rst

index 7bba99253bb3026aa3a5bf573acc567977ab1d67..32de16594c0ed1a11320be40297ac9282b5f479a 100644 (file)
@@ -628,7 +628,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
 
@@ -645,7 +645,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