[Python-checkins] versionadded -> versionchanged for all 'X parameter was added' for uniformity. (GH8114)

Gregory P. Smith webhook-mailer at python.org
Thu Jul 5 20:01:19 EDT 2018


https://github.com/python/cpython/commit/f12028809b0e37ee003d06e7fce8dc6a6f447a94
commit: f12028809b0e37ee003d06e7fce8dc6a6f447a94
branch: master
author: Sergey Fedoseev <fedoseev.sergey at gmail.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2018-07-05T17:01:16-07:00
summary:

versionadded -> versionchanged for all 'X parameter was added' for uniformity. (GH8114)

Per the recommendation in our Developer's Guide:
  https://devguide.python.org/documenting/#paragraph-level-markup

files:
M Doc/library/logging.rst
M Doc/library/sched.rst
M Doc/library/subprocess.rst

diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 438078da5261..27294cfa2074 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -232,13 +232,13 @@ is the module's name in the Python package namespace.
       above example). In such circumstances, it is likely that specialized
       :class:`Formatter`\ s would be used with particular :class:`Handler`\ s.
 
-      .. versionadded:: 3.2
+      .. versionchanged:: 3.2
          The *stack_info* parameter was added.
 
       .. versionchanged:: 3.5
          The *exc_info* parameter can now accept exception instances.
 
-      .. versionadded:: 3.8
+      .. versionchanged:: 3.8
          The *stacklevel* parameter was added.
 
 
@@ -1007,7 +1007,7 @@ functions.
    above example). In such circumstances, it is likely that specialized
    :class:`Formatter`\ s would be used with particular :class:`Handler`\ s.
 
-   .. versionadded:: 3.2
+   .. versionchanged:: 3.2
       The *stack_info* parameter was added.
 
 .. function:: info(msg, *args, **kwargs)
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst
index 6094a7b87145..ad96dbc95b0c 100644
--- a/Doc/library/sched.rst
+++ b/Doc/library/sched.rst
@@ -81,7 +81,7 @@ Scheduler Objects
    .. versionchanged:: 3.3
       *argument* parameter is optional.
 
-   .. versionadded:: 3.3
+   .. versionchanged:: 3.3
       *kwargs* parameter was added.
 
 
@@ -94,7 +94,7 @@ Scheduler Objects
    .. versionchanged:: 3.3
       *argument* parameter is optional.
 
-   .. versionadded:: 3.3
+   .. versionchanged:: 3.3
       *kwargs* parameter was added.
 
 .. method:: scheduler.cancel(event)
@@ -128,7 +128,7 @@ Scheduler Objects
    the calling code is responsible for canceling  events which are no longer
    pertinent.
 
-   .. versionadded:: 3.3
+   .. versionchanged:: 3.3
       *blocking* parameter was added.
 
 .. attribute:: scheduler.queue
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 58439864f37a..9f733bcfffb0 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -485,7 +485,7 @@ functions.
    between the parent and child.  Providing any *pass_fds* forces
    *close_fds* to be :const:`True`.  (POSIX only)
 
-   .. versionadded:: 3.2
+   .. versionchanged:: 3.2
       The *pass_fds* parameter was added.
 
    If *cwd* is not ``None``, the function changes the working directory to



More information about the Python-checkins mailing list