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

Method __init__

IPython/core/inputtransformer.py:96–99  ·  view source on GitHub ↗
(self, coro, **kwargs)

Source from the content-addressed store, hash-verified

94class CoroutineInputTransformer(InputTransformer):
95 """Wrapper for an input transformer implemented as a coroutine."""
96 def __init__(self, coro, **kwargs):
97 # Prime it
98 self.coro = coro(**kwargs)
99 next(self.coro)
100
101 def __repr__(self):
102 return "CoroutineInputTransformer(coro={0!r})".format(self.coro)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected