diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-21 21:48:30 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-21 21:48:30 (GMT) |
commit | dac58492aa3bf476fa0b4b586edababfe3aaca53 (patch) | |
tree | 2f5e120eafe2802ebdcd02178af67439c982b84c /setup.py | |
parent | 0402dd18cb025b7510760142087c97729702e23a (diff) | |
download | cpython-dac58492aa3bf476fa0b4b586edababfe3aaca53.zip cpython-dac58492aa3bf476fa0b4b586edababfe3aaca53.tar.gz cpython-dac58492aa3bf476fa0b4b586edababfe3aaca53.tar.bz2 |
fixed character set description in docstring (SRE uses Python
strings, not C strings)
removed USE_PYTHON defines, and related sre.py helpers
skip calling the subx helper if the template is callable.
interestingly enough, this means that
def callback(m):
return literal
result = pattern.sub(callback, string)
is much faster than
result = pattern.sub(literal, string)
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions