bundles / IPython 9.10.0 / IPython / lib / pretty / RepresentationPrinter
class
IPython.lib.pretty:RepresentationPrinter
source: /IPython/lib/pretty.py :342
Signature
class RepresentationPrinter ( output , verbose = False , max_width = 79 , newline =
, singleton_pprinters = None , type_pprinters = None , deferred_pprinters = None , max_seq_length = 1000 ) Members
Summary
Special pretty printer that has a pretty method that calls the pretty printer for a python object.
Extended Summary
This class stores processing data on self so you must never use this class in a threaded environment. Always lock it or reinstanciate it.
Instances also have a verbose flag callbacks can access to control their output. For example the default instance repr prints all attributes and methods that are not prefixed by an underscore if the printer is in verbose mode.
Aliases
-
IPython.lib.pretty.RepresentationPrinter