Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0f5cd44

Browse filesBrowse files
[3.12] gh-115777: Fix double versionadded directives (GH-116269) (GH-116361)
(cherry picked from commit 0064dfa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 9a42cfa commit 0f5cd44
Copy full SHA for 0f5cd44

File tree

Expand file treeCollapse file tree

6 files changed

+8
-24
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+8
-24
lines changed

‎Doc/library/asyncio-eventloop.rst

Copy file name to clipboardExpand all lines: Doc/library/asyncio-eventloop.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ Opening network connections
626626
Added support for Windows.
627627

628628
.. versionchanged:: 3.11
629-
The *reuse_address* parameter, disabled since Python 3.9.0, 3.8.1,
629+
The *reuse_address* parameter, disabled since Python 3.8.1,
630630
3.7.6 and 3.6.10, has been entirely removed.
631631

632632
.. coroutinemethod:: loop.create_unix_connection(protocol_factory, \

‎Doc/library/audit_events.rst

Copy file name to clipboardExpand all lines: Doc/library/audit_events.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Audit events table
77

88
This table contains all events raised by :func:`sys.audit` or
99
:c:func:`PySys_Audit` calls throughout the CPython runtime and the
10-
standard library. These calls were added in 3.8.0 or later (see :pep:`578`).
10+
standard library. These calls were added in 3.8 or later (see :pep:`578`).
1111

1212
See :func:`sys.addaudithook` and :c:func:`PySys_AddAuditHook` for
1313
information on handling these events.

‎Doc/library/decimal.rst

Copy file name to clipboardExpand all lines: Doc/library/decimal.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ are also included in the pure Python version for compatibility.
15171517
the C version uses a thread-local rather than a coroutine-local context and the value
15181518
is ``False``. This is slightly faster in some nested context scenarios.
15191519

1520-
.. versionadded:: 3.9 backported to 3.7 and 3.8.
1520+
.. versionadded:: 3.8.3
15211521

15221522

15231523
Rounding modes

‎Doc/library/ipaddress.rst

Copy file name to clipboardExpand all lines: Doc/library/ipaddress.rst
+1-11Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,12 @@ write code that handles both IP versions correctly. Address objects are
121121
Leading zeros are tolerated, even in ambiguous cases that look like
122122
octal notation.
123123

124-
.. versionchanged:: 3.10
124+
.. versionchanged:: 3.9.5
125125

126126
Leading zeros are no longer tolerated and are treated as an error.
127127
IPv4 address strings are now parsed as strict as glibc
128128
:func:`~socket.inet_pton`.
129129

130-
.. versionchanged:: 3.9.5
131-
132-
The above change was also included in Python 3.9 starting with
133-
version 3.9.5.
134-
135-
.. versionchanged:: 3.8.12
136-
137-
The above change was also included in Python 3.8 starting with
138-
version 3.8.12.
139-
140130
.. attribute:: version
141131

142132
The appropriate version number: ``4`` for IPv4, ``6`` for IPv6.

‎Doc/library/ssl.rst

Copy file name to clipboardExpand all lines: Doc/library/ssl.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,11 +735,11 @@ Constants
735735
When Python has been compiled against an older version of OpenSSL, the
736736
flag defaults to *0*.
737737

738-
.. versionadded:: 3.7
738+
.. versionadded:: 3.6.3
739739

740740
.. deprecated:: 3.7
741-
The option is deprecated since OpenSSL 1.1.0. It was added to 2.7.15,
742-
3.6.3 and 3.7.0 for backwards compatibility with OpenSSL 1.0.2.
741+
The option is deprecated since OpenSSL 1.1.0. It was added to 2.7.15 and
742+
3.6.3 for backwards compatibility with OpenSSL 1.0.2.
743743

744744
.. data:: OP_NO_RENEGOTIATION
745745

‎Doc/library/typing.rst

Copy file name to clipboardExpand all lines: Doc/library/typing.rst
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,6 @@ using ``[]``.
944944
be used for this concept instead. Type checkers should treat the two
945945
equivalently.
946946

947-
.. versionadded:: 3.5.4
948947
.. versionadded:: 3.6.2
949948

950949
.. data:: Self
@@ -3234,7 +3233,6 @@ Aliases to types in :mod:`collections`
32343233

32353234
Deprecated alias to :class:`collections.ChainMap`.
32363235

3237-
.. versionadded:: 3.5.4
32383236
.. versionadded:: 3.6.1
32393237

32403238
.. deprecated:: 3.9
@@ -3245,7 +3243,6 @@ Aliases to types in :mod:`collections`
32453243

32463244
Deprecated alias to :class:`collections.Counter`.
32473245

3248-
.. versionadded:: 3.5.4
32493246
.. versionadded:: 3.6.1
32503247

32513248
.. deprecated:: 3.9
@@ -3256,7 +3253,6 @@ Aliases to types in :mod:`collections`
32563253

32573254
Deprecated alias to :class:`collections.deque`.
32583255

3259-
.. versionadded:: 3.5.4
32603256
.. versionadded:: 3.6.1
32613257

32623258
.. deprecated:: 3.9
@@ -3339,7 +3335,7 @@ Aliases to container ABCs in :mod:`collections.abc`
33393335

33403336
Deprecated alias to :class:`collections.abc.Collection`.
33413337

3342-
.. versionadded:: 3.6.0
3338+
.. versionadded:: 3.6
33433339

33443340
.. deprecated:: 3.9
33453341
:class:`collections.abc.Collection` now supports subscripting (``[]``).
@@ -3631,7 +3627,6 @@ Aliases to :mod:`contextlib` ABCs
36313627
Deprecated alias to :class:`contextlib.AbstractContextManager`.
36323628

36333629
.. versionadded:: 3.5.4
3634-
.. versionadded:: 3.6.0
36353630

36363631
.. deprecated:: 3.9
36373632
:class:`contextlib.AbstractContextManager`
@@ -3642,7 +3637,6 @@ Aliases to :mod:`contextlib` ABCs
36423637

36433638
Deprecated alias to :class:`contextlib.AbstractAsyncContextManager`.
36443639

3645-
.. versionadded:: 3.5.4
36463640
.. versionadded:: 3.6.2
36473641

36483642
.. deprecated:: 3.9

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.