##// END OF EJS Templates
Move the pygments definition importing logic from the...
Move the pygments definition importing logic from the sphinx preprocessor to the latex one. Now all latex templates will use pygments.

File last commit:

r10110:30fce8a6
r12659:76189ecd
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 *