You are viewing an older version (9.12.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.12.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