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

Method transform

IPython/core/inputtransformer2.py:204–210  ·  view source on GitHub ↗

Transform one instance of special syntax found by ``find()`` Takes a list of strings representing physical lines, returns a similar list of transformed lines.

(self, lines: List[str])

Source from the content-addressed store, hash-verified

202 raise NotImplementedError
203
204 def transform(self, lines: List[str]):
205 """Transform one instance of special syntax found by ``find()``
206
207 Takes a list of strings representing physical lines,
208 returns a similar list of transformed lines.
209 """
210 raise NotImplementedError
211
212class MagicAssign(TokenTransformBase):
213 """Transformer for assignments from magics (a = %foo)"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected