Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ transform
Function
transform
IPython/core/tests/test_inputtransformer.py:12–16 ·
view source on GitHub ↗
(inp)
Source
from the content-addressed store, hash-verified
10
def
transform_and_reset(transformer):
11
transformer = transformer()
12
def
transform(inp):
13
try
:
14
return
transformer.push(inp)
15
finally:
16
transformer.reset()
17
18
return
transform
19
Callers
4
transform_cell
Method · 0.85
transform_cell
Method · 0.85
check_complete
Method · 0.85
timeit
Method · 0.85
Calls
2
push
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected