##// END OF EJS Templates
Backport PR #4738: don't inject help into user_ns...
Backport PR #4738: don't inject help into user_ns because it's in builtins. I presume this was for old Pythons, but it doesn't seem necessary for ≥ 2.7. Prompted because the injection fails on 3.4, causing the warning: WARNING: help() not available - check site.py but help actually works just fine.

File last commit:

r10110:30fce8a6
r13966:56c2565a
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 *