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

Method end_group

IPython/lib/pretty.py:306–313  ·  view source on GitHub ↗

End a group. See `begin_group` for more details.

(self, dedent=0, close='')

Source from the content-addressed store, hash-verified

304 yield idx, x
305
306 def end_group(self, dedent=0, close=''):
307 """End a group. See `begin_group` for more details."""
308 self.indentation -= dedent
309 group = self.group_stack.pop()
310 if not group.breakables:
311 self.group_queue.remove(group)
312 if close:
313 self.text(close)
314
315 def flush(self):
316 """Flush data that is left in the buffer."""

Callers 5

groupMethod · 0.80
prettyMethod · 0.80
_default_pprintFunction · 0.80
innerFunction · 0.80
_super_pprintFunction · 0.80

Calls 3

textMethod · 0.95
popMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected