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

Method __init__

IPython/lib/pretty.py:185–197  ·  view source on GitHub ↗
(self, output, max_width=79, newline='\n', max_seq_length=MAX_SEQ_LENGTH)

Source from the content-addressed store, hash-verified

183 """
184
185 def __init__(self, output, max_width=79, newline='\n', max_seq_length=MAX_SEQ_LENGTH):
186 self.output = output
187 self.max_width = max_width
188 self.newline = newline
189 self.max_seq_length = max_seq_length
190 self.output_width = 0
191 self.buffer_width = 0
192 self.buffer = deque()
193
194 root_group = Group(0)
195 self.group_stack = [root_group]
196 self.group_queue = GroupQueue(root_group)
197 self.indentation = 0
198
199 def _break_one_group(self, group):
200 while group.breakables:

Callers

nothing calls this directly

Calls 2

GroupClass · 0.85
GroupQueueClass · 0.85

Tested by

no test coverage detected