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

Method new_item

IPython/lib/pretty.py:563–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

561
562 started = False
563 def new_item():
564 nonlocal started
565 if started:
566 p.text(",")
567 p.breakable()
568 started = True
569
570 prefix = self.name + "("
571 with p.group(len(prefix), prefix, ")"):

Callers

nothing calls this directly

Calls 2

breakableMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected