##// END OF EJS Templates
Merge pull request #4131 from rossant/cython-magic-name-argument...
Merge pull request #4131 from rossant/cython-magic-name-argument Add module's name argument in %%cython magic This new option lets the user specify an explicit module name for its Cython cell rather than letting IPython generating a random name automatically. With this option, one can reuse a function defined in one %%cython cell magic in another %%cython cell magic, by doing an import of the module corresponding to the first cell magic.

File last commit:

r10110:30fce8a6
r12799:929d291e merge
Show More
tokenize2.py
9 lines | 158 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from _tokenize_py3 import *
else:
from _tokenize_py2 import *