Skip to content

Commit

Permalink
pythongh-93857: Fix broken audit-event targets in sqlite3 docs (pytho…
Browse files Browse the repository at this point in the history
…nGH-93859)

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 ce4d11f)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
erlend-aasland authored and miss-islington committed Jun 15, 2022
1 parent 5dee1d8 commit 1a2de8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 1a2de8d

Please sign in to comment.