@@ -51,7 +51,7 @@ Functions
51
51
compact=False, sort_dicts=True, underscore_numbers=False)
52
52
53
53
Prints the formatted representation of *object * on *stream *, followed by a
54
- newline. If *stream * is ``None ``, `` sys.stdout ` ` is used. This may be used
54
+ newline. If *stream * is ``None ``, :data: ` sys.stdout ` is used. This may be used
55
55
in the interactive interpreter instead of the :func: `print ` function for
56
56
inspecting values (you can even reassign ``print = pprint.pprint `` for use
57
57
within a scope).
@@ -136,9 +136,9 @@ This module defines one class:
136
136
Construct a :class: `PrettyPrinter ` instance. This constructor understands
137
137
several keyword parameters.
138
138
139
- *stream * (default `` sys.stdout ` `) is a :term: `file-like object ` to
139
+ *stream * (default :data: ` sys.stdout `) is a :term: `file-like object ` to
140
140
which the output will be written by calling its :meth: `!write ` method.
141
- If both *stream * and `` sys.stdout ` ` are ``None ``, then
141
+ If both *stream * and :data: ` sys.stdout ` are ``None ``, then
142
142
:meth: `~PrettyPrinter.pprint ` silently returns.
143
143
144
144
Other values configure the manner in which nesting of complex data
@@ -179,7 +179,7 @@ This module defines one class:
179
179
Added the *underscore_numbers * parameter.
180
180
181
181
.. versionchanged :: 3.11
182
- No longer attempts to write to `` sys.stdout ` ` if it is ``None ``.
182
+ No longer attempts to write to :data: ` sys.stdout ` if it is ``None ``.
183
183
184
184
>>> import pprint
185
185
>>> stuff = [' spam' , ' eggs' , ' lumberjack' , ' knights' , ' ni' ]
0 commit comments