##// END OF EJS Templates
implement pre_runcode_hook, make ipy_autoreload use that instead of monkeypatching
implement pre_runcode_hook, make ipy_autoreload use that instead of monkeypatching

File last commit:

r988:2f09c2ab
r1036:d774779a
Show More
test_autocall.ipy
24 lines | 196 B | text/plain | TextLexer
def f1(a,b,c):
return a+b+c
def f2(a):
return a + a
;f2 a b c
assert _ == "a b ca b c"
,f1 a b c
assert _ == 'abc'
print _
/f1 1,2,3
assert _ == 6
/f2 4
assert _ == 8
del f1
del f2