pyppin.testing.pprint_object¶
Pretty-print the contents of an object, including all its Python innards, for debugging.
Functions
|
Pretty-print all the innards of an object. |
- pyppin.testing.pprint_object.pprint_object(thing: Any, file: Optional[IO[str]] = None, recurse_into: Optional[Iterable[str]] = None) None [source]¶
Pretty-print all the innards of an object.
Unlike pprint(thing), this will print everything in the objects dir, including __items__. This is basically for debugging.
- Parameters
thing – What to print
file – Where to print it (default stdout)
recurse_into – Any variable names listed here will be expanded recursively.