diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-01-21 20:07:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 20:07:46 (GMT) |
commit | 9f164ab70b0166be3ca763adc1948a86b37f94b3 (patch) | |
tree | 5e624f3569df3508ad40c2cc8ffa5d157a1896c5 | |
parent | a4587c1846226f8a74d9d4951864a0b1ab265f97 (diff) | |
download | cpython-9f164ab70b0166be3ca763adc1948a86b37f94b3.zip cpython-9f164ab70b0166be3ca763adc1948a86b37f94b3.tar.gz cpython-9f164ab70b0166be3ca763adc1948a86b37f94b3.tar.bz2 |
[3.11] Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400) (#114403)
(cherry picked from commit 336030161a6cb8aa5b4f42a08510f4383984703f)
When a parameter is added to a function or method, use the 'versionchanged'
directive, not 'versionadded'.
-rw-r--r-- | Doc/library/sqlite3.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 36e9092..e0b0bdc 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -331,14 +331,14 @@ Module functions .. audit-event:: sqlite3.connect database sqlite3.connect .. audit-event:: sqlite3.connect/handle connection_handle sqlite3.connect - .. versionadded:: 3.4 - The *uri* parameter. + .. versionchanged:: 3.4 + Added the *uri* parameter. .. versionchanged:: 3.7 *database* can now also be a :term:`path-like object`, not only a string. - .. versionadded:: 3.10 - The ``sqlite3.connect/handle`` auditing event. + .. versionchanged:: 3.10 + Added the ``sqlite3.connect/handle`` auditing event. .. function:: complete_statement(statement) @@ -662,8 +662,8 @@ Connection objects :raises NotSupportedError: If *deterministic* is used with SQLite versions older than 3.8.3. - .. versionadded:: 3.8 - The *deterministic* parameter. + .. versionchanged:: 3.8 + Added the *deterministic* parameter. Example: @@ -1553,10 +1553,10 @@ Row objects Blob objects ^^^^^^^^^^^^ -.. versionadded:: 3.11 - .. class:: Blob + .. versionadded:: 3.11 + A :class:`Blob` instance is a :term:`file-like object` that can read and write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:`len(blob) <len>` to get the size (number of bytes) of the blob. |