##// END OF EJS Templates
use Cython.load_ipython_ext to simplify
Matthias Bussonnier -
Show More
@@ -37,6 +37,5 b' def load_ipython_extension(ip):'
37 if Cython is None or tuple(map(int,Cython.__version__.split('.'))) < (0,21) :
37 if Cython is None or tuple(map(int,Cython.__version__.split('.'))) < (0,21) :
38 print("You need Cython version >=0.21 to use the Cython magic")
38 print("You need Cython version >=0.21 to use the Cython magic")
39 return
39 return
40 if CythonMagics:
40 print("""\nThough, because I am nice, I'll still try to load it for you this time.""")
41 print("""\nThough, because I am nice, I'll still try to load it for you this time.""")
41 Cython.load_ipython_extension(ip)
42 ip.register_magics(CythonMagics)
General Comments 0
You need to be logged in to leave comments. Login now