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

Method __init__

IPython/core/inputtransformer2.py:527–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

525 and ``check_complete()``.
526 """
527 def __init__(self):
528 self.cleanup_transforms = [
529 leading_empty_lines,
530 leading_indent,
531 classic_prompt,
532 ipython_prompt,
533 ]
534 self.line_transforms = [
535 cell_magic,
536 ]
537 self.token_transformers = [
538 MagicAssign,
539 SystemAssign,
540 EscapedCommand,
541 HelpEnd,
542 ]
543
544 def do_one_token_transform(self, lines):
545 """Find and run the transform earliest in the code.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected