##// END OF EJS Templates
update payload source...
update payload source should be simple key, not Python (or worse, IPython) specific long key. I could have sworn I did this long ago, but apparently the source key was only updated in display_data, not execute_reply.

File last commit:

r10110:30fce8a6
r11839:8cbae575
Show More
tokenize2.py
9 lines | 158 B | text/x-python | PythonLexer
Thomas Kluyver
Now include patched copies of tokenize for Python 2 and 3.
r10110 """Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from _tokenize_py3 import *
else:
from _tokenize_py2 import *