Skip to content

Commit 1a96c8d

Browse files
committed
Merge branch 'pep-813-pprint' of github.com:warsaw/peps into pep-813-pprint
2 parents 143cb6c + a8598f7 commit 1a96c8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

peps/pep-0813.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Motivation
2020
==========
2121

2222
"Pretty printing" is a feature which provides a capability to format object representations for better
23-
readability. The core functionality is implemented by the standard library :mod:`pprint`. ``pprint``
23+
readability. The core functionality is implemented by the standard library :mod:`pprint` module. ``pprint``
2424
includes a class and APIs which users can invoke to format and print more readable representations of objects.
2525
Important use cases include pretty printing large dictionaries and other complicated objects.
2626

@@ -82,7 +82,7 @@ A new argument to built-in ``print``
8282
Built-in :func:`print` takes a new optional argument, appended to the end of the argument list, called
8383
``pretty``, which can take one of the following values:
8484

85-
* ``None`` - the default. No pretty printing is invoked. Fully backward compatible
85+
* ``None`` - the default. No pretty printing is invoked. Fully backward compatible.
8686
* ``True`` - use a temporary instance of the :py:class:`python:pprint.PrettyPrinter` class to get a
8787
pretty representation of the object.
8888
* An instance with a ``pformat()`` method, which has the same signature as

0 commit comments

Comments
 (0)