Skip to content

Commit 9f164ab

Browse files
[3.11] Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400) (#114403)
(cherry picked from commit 3360301) When a parameter is added to a function or method, use the 'versionchanged' directive, not 'versionadded'.
1 parent a4587c1 commit 9f164ab

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/sqlite3.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@ Module functions
331331
.. audit-event:: sqlite3.connect database sqlite3.connect
332332
.. audit-event:: sqlite3.connect/handle connection_handle sqlite3.connect
333333

334-
.. versionadded:: 3.4
335-
The *uri* parameter.
334+
.. versionchanged:: 3.4
335+
Added the *uri* parameter.
336336

337337
.. versionchanged:: 3.7
338338
*database* can now also be a :term:`path-like object`, not only a string.
339339

340-
.. versionadded:: 3.10
341-
The ``sqlite3.connect/handle`` auditing event.
340+
.. versionchanged:: 3.10
341+
Added the ``sqlite3.connect/handle`` auditing event.
342342

343343
.. function:: complete_statement(statement)
344344

@@ -662,8 +662,8 @@ Connection objects
662662
:raises NotSupportedError:
663663
If *deterministic* is used with SQLite versions older than 3.8.3.
664664

665-
.. versionadded:: 3.8
666-
The *deterministic* parameter.
665+
.. versionchanged:: 3.8
666+
Added the *deterministic* parameter.
667667

668668
Example:
669669

@@ -1553,10 +1553,10 @@ Row objects
15531553
Blob objects
15541554
^^^^^^^^^^^^
15551555

1556-
.. versionadded:: 3.11
1557-
15581556
.. class:: Blob
15591557

1558+
.. versionadded:: 3.11
1559+
15601560
A :class:`Blob` instance is a :term:`file-like object`
15611561
that can read and write data in an SQLite :abbr:`BLOB (Binary Large OBject)`.
15621562
Call :func:`len(blob) <len>` to get the size (number of bytes) of the blob.

0 commit comments

Comments
 (0)