]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-115664: Fix chronological ordering of versionadded and versionchanged direc...
authorBrian Schubert <brianm.schubert@gmail.com>
Mon, 19 Feb 2024 18:42:19 +0000 (13:42 -0500)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 18:42:19 +0000 (18:42 +0000)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Doc/library/codecs.rst
Doc/library/math.rst
Doc/library/shutil.rst
Doc/library/sys.rst
Doc/library/venv.rst
Doc/using/venv-create.inc

index 9ce584874783da9d75bfd770f36575d9cbd31db8..894986cb738d84053496bf0c873d1b5e26ff265e 100644 (file)
@@ -1542,13 +1542,13 @@ This module implements the ANSI codepage (CP_ACP).
 
 .. availability:: Windows.
 
-.. versionchanged:: 3.3
-   Support any error handler.
-
 .. versionchanged:: 3.2
    Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used
    to encode, and ``'ignore'`` to decode.
 
+.. versionchanged:: 3.3
+   Support any error handler.
+
 
 :mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature
 -------------------------------------------------------------
index 8d48656d41eb0ac45b92910789af7644dedd0ee6..25cb077d419574262e29afc4c193ec4efe485525 100644 (file)
@@ -666,11 +666,11 @@ Constants
       >>> math.isnan(float('nan'))
       True
 
+   .. versionadded:: 3.5
+
    .. versionchanged:: 3.11
       It is now always available.
 
-   .. versionadded:: 3.5
-
 
 .. impl-detail::
 
index 6a6e42da8c73678c7b8285179758b20a426bb53d..f452c04191c737458b304af360e7a44f83229df3 100644 (file)
@@ -274,16 +274,16 @@ Directory and files operations
 
    .. audit-event:: shutil.copytree src,dst shutil.copytree
 
-   .. versionchanged:: 3.3
-      Copy metadata when *symlinks* is false.
-      Now returns *dst*.
-
    .. versionchanged:: 3.2
       Added the *copy_function* argument to be able to provide a custom copy
       function.
       Added the *ignore_dangling_symlinks* argument to silence dangling symlinks
       errors when *symlinks* is false.
 
+   .. versionchanged:: 3.3
+      Copy metadata when *symlinks* is false.
+      Now returns *dst*.
+
    .. versionchanged:: 3.8
       Platform-specific fast-copy syscalls may be used internally in order to
       copy the file more efficiently. See
index e402d8b418b7b0b4d665d20b69c7f75e91eb8f91..28c07f6c676c0eb95d9a6eb09f35f46df09f7777 100644 (file)
@@ -16,12 +16,12 @@ always available.
    On POSIX systems where Python was built with the standard ``configure``
    script, this contains the ABI flags as specified by :pep:`3149`.
 
+   .. versionadded:: 3.2
+
    .. versionchanged:: 3.8
       Default flags became an empty string (``m`` flag for pymalloc has been
       removed).
 
-   .. versionadded:: 3.2
-
 
 .. function:: addaudithook(hook)
 
index 4291ce7988f9dd7ec2d47cb4a75f23a49f7f6690..db4490ba43635304b99d8df80043ed4eba8c8044 100644 (file)
@@ -276,10 +276,6 @@ creation according to their needs, the :class:`EnvBuilder` class.
           the virtual environment.
 
 
-        .. versionchanged:: 3.12
-           The attribute ``lib_path`` was added to the context, and the context
-           object was documented.
-
         .. versionchanged:: 3.11
            The *venv*
            :ref:`sysconfig installation scheme <installation_paths>`
index 9f25563122ef499922194f7580c333ff1740d1dd..9321a020dd2f9d7856f11483e167f4a2378927bc 100644 (file)
@@ -14,14 +14,14 @@ used at environment creation time). It also creates an (initially empty)
 ``Lib\site-packages``). If an existing directory is specified, it will be
 re-used.
 
+.. versionchanged:: 3.5
+   The use of ``venv`` is now recommended for creating virtual environments.
+
 .. deprecated:: 3.6
    ``pyvenv`` was the recommended tool for creating virtual environments for
    Python 3.3 and 3.4, and is
    :ref:`deprecated in Python 3.6 <whatsnew36-venv>`.
 
-.. versionchanged:: 3.5
-   The use of ``venv`` is now recommended for creating virtual environments.
-
 .. highlight:: none
 
 On Windows, invoke the ``venv`` command as follows::