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

Method __init__

IPython/lib/pretty.py:444–450  ·  view source on GitHub ↗
(self, seq, width, pretty)

Source from the content-addressed store, hash-verified

442class Breakable(Printable):
443
444 def __init__(self, seq, width, pretty):
445 self.obj = seq
446 self.width = width
447 self.pretty = pretty
448 self.indentation = pretty.indentation
449 self.group = pretty.group_stack[-1]
450 self.group.breakables.append(self)
451
452 def output(self, stream, output_width):
453 self.group.breakables.popleft()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected