[Python-checkins] cpython: Issue #19132: Add versionchanged tags.

serhiy.storchaka python-checkins at python.org
Wed Oct 2 20:40:52 CEST 2013


http://hg.python.org/cpython/rev/6e7b1aadea2f
changeset:   85932:6e7b1aadea2f
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Wed Oct 02 21:40:21 2013 +0300
summary:
  Issue #19132: Add versionchanged tags.

files:
  Doc/library/pprint.rst |  9 +++++++++
  1 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst
--- a/Doc/library/pprint.rst
+++ b/Doc/library/pprint.rst
@@ -49,6 +49,9 @@
    will be formatted on a separate line.  If *compact* is true, as many items
    as will fit within the *width* will be formatted on each output line.
 
+   .. versionchanged:: 3.4
+      Added the *compact* parameter.
+
       >>> import pprint
       >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
       >>> stuff.insert(0, stuff[:])
@@ -81,6 +84,9 @@
    *width*, *depth* and *compact* will be passed to the :class:`PrettyPrinter`
    constructor as formatting parameters.
 
+   .. versionchanged:: 3.4
+      Added the *compact* parameter.
+
 
 .. function:: pprint(object, stream=None, indent=1, width=80, depth=None, *, \
                      compact=False)
@@ -92,6 +98,9 @@
    within a scope).  *indent*, *width*, *depth* and *compact* will be passed
    to the :class:`PrettyPrinter` constructor as formatting parameters.
 
+   .. versionchanged:: 3.4
+      Added the *compact* parameter.
+
       >>> import pprint
       >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
       >>> stuff.insert(0, stuff)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list