Skip to content

Commit 55ac8f0

Browse files
committed
Get rid of the remaining versionadded/versionchanged directives.
1 parent 1617457 commit 55ac8f0

File tree

161 files changed

+335
-2197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+335
-2197
lines changed

Doc/distutils/setupscript.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,6 @@ The corresponding call to :func:`setup` might be::
488488
package_data={'mypkg': ['data/*.dat']},
489489
)
490490

491-
.. versionadded:: 2.4
492-
493491

494492
Installing Additional Files
495493
===========================

Doc/distutils/uploading.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Uploading Packages to the Package Index
55
***************************************
66

7-
.. versionadded:: 2.5
8-
97
The Python Package Index (PyPI) not only stores the package info, but also the
108
package data if the author of the package wishes to. The distutils command
119
:command:`upload` pushes the distribution files to PyPI.

Doc/extending/newtypes.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,8 +1125,6 @@ not been updated to use some of the new generic mechanism that is available.
11251125
Generic Attribute Management
11261126
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11271127

1128-
.. versionadded:: 2.2
1129-
11301128
Most extension types only use *simple* attributes. So, what makes the
11311129
attributes simple? There are only a couple of conditions that must be met:
11321130

Doc/install/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,6 @@ installed to the following directories under the installation base as follows:
343343
| data | :file:`{home}/share` | :option:`--install-data` |
344344
+------------------------------+---------------------------+-----------------------------+
345345

346-
.. versionchanged:: 2.4
347-
The :option:`--home` option used to be supported only on Unix.
348-
349346

350347
.. _inst-alt-install-home:
351348

Doc/library/_ast.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Abstract Syntax Trees
99
.. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
1010

1111

12-
.. versionadded:: 2.5
13-
1412
The ``_ast`` module helps Python applications to process trees of the Python
1513
abstract syntax grammar. The Python compiler currently provides read-only access
1614
to such trees, meaning that applications can only create a tree for a given

Doc/library/_winreg.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
.. sectionauthor:: Mark Hammond <MarkH@ActiveState.com>
99

1010

11-
.. versionadded:: 2.0
12-
1311
These functions expose the Windows registry API to Python. Instead of using an
1412
integer as the registry handle, a handle object is used to ensure that the
1513
handles are closed correctly, even if the programmer neglects to explicitly

Doc/library/array.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ The module defines the following type:
5959
from the optional *initializer* value, which must be a list, string, or iterable
6060
over elements of the appropriate type.
6161

62-
.. versionchanged:: 2.4
63-
Formerly, only lists or strings were accepted.
64-
6562
If given a list or string, the initializer is passed to the new array's
6663
:meth:`fromlist`, :meth:`fromstring`, or :meth:`fromunicode` method (see below)
6764
to add initial items to the array. Otherwise, the iterable initializer is
@@ -135,9 +132,6 @@ The following data items and methods are also supported:
135132
be raised. If *iterable* is not an array, it must be iterable and its elements
136133
must be the right type to be appended to the array.
137134

138-
.. versionchanged:: 2.4
139-
Formerly, the argument could only be another array.
140-
141135

142136
.. method:: array.fromfile(f, n)
143137

Doc/library/atexit.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
.. sectionauthor:: Skip Montanaro <skip@mojam.com>
99

1010

11-
.. versionadded:: 2.0
12-
1311
The :mod:`atexit` module defines functions to register and unregister cleanup
1412
functions. Functions thus registered are automatically executed upon normal
1513
interpreter termination.
@@ -36,9 +34,8 @@ is killed by a signal, when a Python fatal internal error is detected, or when
3634
saved. After all exit handlers have had a chance to run the last exception to
3735
be raised is re-raised.
3836

39-
.. versionchanged:: 2.6
40-
This function now returns *func* which makes it possible to use it as a
41-
decorator without binding the original name to ``None``.
37+
This function returns *func* which makes it possible to use it as a decorator
38+
without binding the original name to ``None``.
4239

4340

4441
.. function:: unregister(func)
@@ -47,8 +44,6 @@ is killed by a signal, when a Python fatal internal error is detected, or when
4744
shutdown. After calling :func:`unregister`, *func* is guaranteed not to be
4845
called when the interpreter shuts down.
4946

50-
.. versionadded:: 3.0
51-
5247

5348
.. seealso::
5449

Doc/library/audioop.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ The module defines the following variables and functions:
5353
a-LAW encoding always uses 8 bits samples, so *width* refers only to the sample
5454
width of the output fragment here.
5555

56-
.. versionadded:: 2.5
57-
5856

5957
.. function:: avg(fragment, width)
6058

@@ -133,8 +131,6 @@ The module defines the following variables and functions:
133131
range of about 13 bits using only 8 bit samples. It is used by the Sun audio
134132
hardware, among others.
135133

136-
.. versionadded:: 2.5
137-
138134

139135
.. function:: lin2lin(fragment, width, newwidth)
140136

Doc/library/basehttpserver.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,6 @@ A :class:`BaseHTTPRequestHandler` instance has the following methods:
228228

229229
The result looks like ``'Sun, 06 Nov 1994 08:49:37 GMT'``.
230230

231-
.. versionadded:: 2.5
232-
The *timestamp* parameter.
233-
234231

235232
.. method:: BaseHTTPRequestHandler.log_date_time_string()
236233

0 commit comments

Comments
 (0)