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

Method do_token_transforms

IPython/core/inputtransformer2.py:716–723  ·  view source on GitHub ↗
(self, lines)

Source from the content-addressed store, hash-verified

714 return False, lines
715
716 def do_token_transforms(self, lines):
717 for _ in range(TRANSFORM_LOOP_LIMIT):
718 changed, lines = self.do_one_token_transform(lines)
719 if not changed:
720 return lines
721
722 raise RuntimeError("Input transformation still changing after "
723 "%d iterations. Aborting." % TRANSFORM_LOOP_LIMIT)
724
725 def transform_cell(self, cell: str) -> str:
726 """Transforms a cell of input code"""

Callers 2

transform_cellMethod · 0.95
check_completeMethod · 0.95

Calls 1

Tested by

no test coverage detected