]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #19132: Add versionchanged tags.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 2 Oct 2013 18:40:21 +0000 (21:40 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 2 Oct 2013 18:40:21 +0000 (21:40 +0300)
Doc/library/pprint.rst

index ec9de43cb213d0b4acd44f5cee2631e5f8cdc34e..447f8f70606c1fd30033cdcdf2d2f9468daae231 100644 (file)
@@ -49,6 +49,9 @@ The :mod:`pprint` module defines one class:
    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 @@ The :mod:`pprint` module also provides several shortcut functions:
    *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 @@ The :mod:`pprint` module also provides several shortcut functions:
    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)