Skip to content

Commit 5183a5d

Browse files
[3.12] Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400) (#114402)
(cherry picked from commit 3360301) When a parameter is added to a function or method, use the 'versionchanged' directive, not 'versionadded'.
1 parent 1138fb5 commit 5183a5d

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
.. function:: complete_statement(statement)
359359

@@ -738,8 +738,8 @@ Connection objects
738738
:raises NotSupportedError:
739739
If *deterministic* is used with SQLite versions older than 3.8.3.
740740

741-
.. versionadded:: 3.8
742-
The *deterministic* parameter.
741+
.. versionchanged:: 3.8
742+
Added the *deterministic* parameter.
743743

744744
Example:
745745

@@ -1101,8 +1101,8 @@ Connection objects
11011101
.. versionchanged:: 3.10
11021102
Added the ``sqlite3.load_extension`` auditing event.
11031103

1104-
.. versionadded:: 3.12
1105-
The *entrypoint* parameter.
1104+
.. versionchanged:: 3.12
1105+
Added the *entrypoint* parameter.
11061106

11071107
.. _Loading an Extension: https://www.sqlite.org/loadext.html#loading_an_extension_
11081108

@@ -1731,10 +1731,10 @@ Row objects
17311731
Blob objects
17321732
^^^^^^^^^^^^
17331733

1734-
.. versionadded:: 3.11
1735-
17361734
.. class:: Blob
17371735

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

0 commit comments

Comments
 (0)