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

Method __call__

IPython/utils/PyColorize.py:328–331  ·  view source on GitHub ↗

Token handler, with syntax highlighting.

(self, toktype, toktext, start_pos, end_pos, line)

Source from the content-addressed store, hash-verified

326
327
328 def __call__(self, toktype, toktext, start_pos, end_pos, line):
329 """ Token handler, with syntax highlighting."""
330 self.out.write(
331 self._inner_call_(toktype, toktext, start_pos))

Callers

nothing calls this directly

Calls 2

_inner_call_Method · 0.95
writeMethod · 0.45

Tested by

no test coverage detected