##// END OF EJS Templates
Add semantic classes to top-level containers for single widgets...
Add semantic classes to top-level containers for single widgets This makes it much easier to customize all widgets of a certain type using CSS. For example, to change just the IPython widget selects, a CSS rule like .widget-select select {...} should work well.

File last commit:

r13347:54891794
r18120:3ea99bab
Show More
tokenize2.py
9 lines | 160 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:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._tokenize_py3 import *
Thomas Kluyver
Now include patched copies of tokenize for Python 2 and 3.
r10110 else:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._tokenize_py2 import *