diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-06-24 14:35:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 14:35:57 (GMT) |
commit | b19f45533942e4ad7ddf9d2d94f8b87c6f746bce (patch) | |
tree | bec9f6276d7a24488de0614d64922c4314ffa8a4 /Doc/library | |
parent | 18ba1ff6a4eb284aefb8d157d5e574d8326a395d (diff) | |
download | cpython-b19f45533942e4ad7ddf9d2d94f8b87c6f746bce.zip cpython-b19f45533942e4ad7ddf9d2d94f8b87c6f746bce.tar.gz cpython-b19f45533942e4ad7ddf9d2d94f8b87c6f746bce.tar.bz2 |
bpo-44491: Allow clearing the sqlite3 authoriser callback (GH-26863)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/sqlite3.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 4010e1a..33cb13e 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -430,6 +430,11 @@ Connection Objects argument and the meaning of the second and third argument depending on the first one. All necessary constants are available in the :mod:`sqlite3` module. + Passing :const:`None` as *authorizer_callback* will disable the authorizer. + + .. versionchanged:: 3.11 + Added support for disabling the authorizer using :const:`None`. + .. method:: set_progress_handler(handler, n) |