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

Method format

IPython/utils/PyColorize.py:72–73  ·  view source on GitHub ↗
(self, stream: TokenStream)

Source from the content-addressed store, hash-verified

70 return MyStyle
71
72 def format(self, stream: TokenStream) -> str:
73 return pygments.format(stream, self._formatter)
74
75 def make_arrow(self, width: int) -> str:
76 """generate the leading arrow in front of traceback or debugger"""

Callers 15

setup.pyFile · 0.45
toollib.pyFile · 0.45
update_whatsnew.pyFile · 0.45
make_tarball.pyFile · 0.45
get_ipython_dirFunction · 0.45
unescapeFunction · 0.45
shMethod · 0.45
format2Method · 0.45
_inner_call_Method · 0.45
in_prompt_tokensMethod · 0.45

Calls

no outgoing calls

Tested by 15

float_doctestFunction · 0.36
test_progress_iterFunction · 0.36
test_repr_mimeFunction · 0.36
test_repr_mime_metaFunction · 0.36
test_repr_mime_failureFunction · 0.36
eval_formatter_checkFunction · 0.36