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
…n#93859)

Corrected targets for the following audit-events:

- sqlite3.enable_load_extension => sqlite3.Connection.enable_load_extension
- sqlite3.load_extension => sqlite3.Connection.load_extension
  • Loading branch information
erlend-aasland authored Jun 15, 2022
1 parent ff095e1 commit ce4d11f
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 @@ -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

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

Expand Down

0 comments on commit ce4d11f

Please sign in to comment.