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

Method push

IPython/core/inputtransformer.py:85–88  ·  view source on GitHub ↗

Send a line of input to the transformer, returning the transformed input.

(self, line)

Source from the content-addressed store, hash-verified

83 return "StatelessInputTransformer(func={0!r})".format(self.func)
84
85 def push(self, line):
86 """Send a line of input to the transformer, returning the
87 transformed input."""
88 return self.func(line)
89
90 def reset(self):
91 """No-op - exists for compatibility."""

Callers

nothing calls this directly

Calls 1

funcMethod · 0.80

Tested by

no test coverage detected