Home | History | Annotate | Download | only in python2.7

Lines Matching refs:depth

55 def pprint(object, stream=None, indent=1, width=80, depth=None):
58 stream=stream, indent=indent, width=width, depth=depth)
61 def pformat(object, indent=1, width=80, depth=None):
63 return PrettyPrinter(indent=indent, width=width, depth=depth).pformat(object)
85 def __init__(self, indent=1, width=80, depth=None, stream=None):
95 depth
96 The maximum depth to print out nested structures.
106 assert depth is None or depth > 0, "depth must be > 0"
108 self._depth = depth