##// END OF EJS Templates
check if readline is available before calling readline functions in ipy_defaults.py
check if readline is available before calling readline functions in ipy_defaults.py

File last commit:

r183:10a727b4
r537:6e28a731
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