This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: python; coding: utf-8 -*- | |
"""Unicode Names preprocessor for Python 2.""" | |
# Modified from tokenize module as support for parsing Unicode names | |
# had to be added. | |
old_doc = """Tokenization help for Python programs. | |
generate_tokens(readline) is a generator that breaks a stream of | |
text into Python tokens. It accepts a readline-like method which is called |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r"""Older, simpler interface for simple RegEx operations. | |
Simple regular expression interface compatible with historic regexp | |
module (based on the regexp.py from Python 1.1, which was included | |
without modification in subseqent versions before eventual | |
deletion). | |
Ported by Thomas Hori to use the "re" API rather than the previous | |
"regex" module from Python 1.x as its backend. |
NewerOlder