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

Method push

IPython/core/inputtransformer.py:104–109  ·  view source on GitHub ↗

Send a line of input to the transformer, returning the transformed input or None if the transformer is waiting for more input.

(self, line)

Source from the content-addressed store, hash-verified

102 return "CoroutineInputTransformer(coro={0!r})".format(self.coro)
103
104 def push(self, line):
105 """Send a line of input to the transformer, returning the
106 transformed input or None if the transformer is waiting for more
107 input.
108 """
109 return self.coro.send(line)
110
111 def reset(self):
112 """Return, transformed any lines that the transformer has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected