Pretty-print a Python object to a stream [default is sys.stdout].
(object, stream=None, indent=1, width=80, depth=None,
enable_pickle=ENABLE_PICKLE_DEFAULT)
| 75 | |
| 76 | |
| 77 | def pprint(object, stream=None, indent=1, width=80, depth=None, |
| 78 | enable_pickle=ENABLE_PICKLE_DEFAULT): |
| 79 | """Pretty-print a Python object to a stream [default is sys.stdout].""" |
| 80 | printer = PrettyPrinter( |
| 81 | stream=stream, indent=indent, width=width, depth=depth, |
| 82 | enable_pickle=enable_pickle) |
| 83 | printer.pprint(object) |
| 84 | |
| 85 | def pformat(object, indent=1, width=80, depth=None, |
| 86 | enable_pickle=ENABLE_PICKLE_DEFAULT): |
no test coverage detected
searching dependent graphs…