MCPcopy Index your code
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/lib/pretty.py:203–215  ·  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

201 """
202
203 def __init__(self, output, max_width=79, newline='\n', max_seq_length=MAX_SEQ_LENGTH):
204 self.output = output
205 self.max_width = max_width
206 self.newline = newline
207 self.max_seq_length = max_seq_length
208 self.output_width = 0
209 self.buffer_width = 0
210 self.buffer = deque()
211
212 root_group = Group(0)
213 self.group_stack = [root_group]
214 self.group_queue = GroupQueue(root_group)
215 self.indentation = 0
216
217 def _break_one_group(self, group):
218 while group.breakables:

Callers

nothing calls this directly

Calls 2

GroupClass · 0.85
GroupQueueClass · 0.85

Tested by

no test coverage detected