##// END OF EJS Templates
support iterators in view.map...
support iterators in view.map Some objects are not sliceable (e.g. xrange). For these, fall back on itertools.islice. tests included reported on IRC by @juliantaylor

File last commit:

r2058:7e8fc59a
r5560:a3ee8de9
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()