pprint.PrettyPrinter.__init__¶
-
PrettyPrinter.__init__(indent=1, width=80, depth=None, stream=None)[source]¶ Handle pretty printing operations onto a stream using a set of configured parameters.
- indent
- Number of spaces to indent for each level of nesting.
- width
- Attempted maximum number of columns in the output.
- depth
- The maximum depth to print out nested structures.
- stream
- The desired output stream. If omitted (or false), the standard output stream available at construction will be used.