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

Method __init__

IPython/core/inputtransformer.py:123–126  ·  view source on GitHub ↗
(self, func)

Source from the content-addressed store, hash-verified

121 return an iterable which can be passed to tokenize.untokenize().
122 """
123 def __init__(self, func):
124 self.func = func
125 self.buf = []
126 self.reset_tokenizer()
127
128 def reset_tokenizer(self):
129 it = iter(self.buf)

Callers 1

__init__Method · 0.45

Calls 1

reset_tokenizerMethod · 0.95

Tested by

no test coverage detected