Skip to content

Commit 3360301

Browse files
Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400)
When a parameter is added to a function or method, use the 'versionchanged' directive, not 'versionadded'.
1 parent de17cf4 commit 3360301

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Doc/library/sqlite3.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -343,17 +343,17 @@ Module functions
343343
.. audit-event:: sqlite3.connect database sqlite3.connect
344344
.. audit-event:: sqlite3.connect/handle connection_handle sqlite3.connect
345345

346-
.. versionadded:: 3.4
347-
The *uri* parameter.
346+
.. versionchanged:: 3.4
347+
Added the *uri* parameter.
348348

349349
.. versionchanged:: 3.7
350350
*database* can now also be a :term:`path-like object`, not only a string.
351351

352-
.. versionadded:: 3.10
353-
The ``sqlite3.connect/handle`` auditing event.
352+
.. versionchanged:: 3.10
353+
Added the ``sqlite3.connect/handle`` auditing event.
354354

355-
.. versionadded:: 3.12
356-
The *autocommit* parameter.
355+
.. versionchanged:: 3.12
356+
Added the *autocommit* parameter.
357357

358358
.. versionchanged:: 3.13
359359
Positional use of the parameters *timeout*, *detect_types*,
@@ -747,8 +747,8 @@ Connection objects
747747
`deterministic <https://sqlite.org/deterministic.html>`_,
748748
which allows SQLite to perform additional optimizations.
749749

750-
.. versionadded:: 3.8
751-
The *deterministic* parameter.
750+
.. versionchanged:: 3.8
751+
Added the *deterministic* parameter.
752752

753753
Example:
754754

@@ -1132,8 +1132,8 @@ Connection objects
11321132
.. versionchanged:: 3.10
11331133
Added the ``sqlite3.load_extension`` auditing event.
11341134

1135-
.. versionadded:: 3.12
1136-
The *entrypoint* parameter.
1135+
.. versionchanged:: 3.12
1136+
Added the *entrypoint* parameter.
11371137

11381138
.. _Loading an Extension: https://www.sqlite.org/loadext.html#loading_an_extension_
11391139

@@ -1762,10 +1762,10 @@ Row objects
17621762
Blob objects
17631763
^^^^^^^^^^^^
17641764

1765-
.. versionadded:: 3.11
1766-
17671765
.. class:: Blob
17681766

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

0 commit comments

Comments
 (0)