MCPcopy Create free account
hub / github.com/ipython/ipython / _deque_pprint

Function _deque_pprint

IPython/lib/pretty.py:838–844  ·  view source on GitHub ↗
(obj, p, cycle)

Source from the content-addressed store, hash-verified

836 p.pretty(list(obj.items()))
837
838def _deque_pprint(obj, p, cycle):
839 name = obj.__class__.__name__
840 with p.group(len(name) + 1, name + '(', ')'):
841 if cycle:
842 p.text('...')
843 else:
844 p.pretty(list(obj))
845
846
847def _counter_pprint(obj, p, cycle):

Callers

nothing calls this directly

Calls 3

groupMethod · 0.80
prettyMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected