diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-21 13:08:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-21 13:08:29 (GMT) |
commit | b6596c516bcb4de4abf5722159d9aa3bff680173 (patch) | |
tree | 11548bd1b7317663d39b7d8cfc9c9905de91c856 /Lib | |
parent | 4ab701b2d30f1975bbea837234f6dfe52785c3d5 (diff) | |
download | cpython-b6596c516bcb4de4abf5722159d9aa3bff680173.zip cpython-b6596c516bcb4de4abf5722159d9aa3bff680173.tar.gz cpython-b6596c516bcb4de4abf5722159d9aa3bff680173.tar.bz2 |
remove extra zero
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/re.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ def template(pattern, flags=0): return _compile(pattern, flags|T) _alphanum = frozenset( - "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890") + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") def escape(pattern): "Escape all non-alphanumeric characters in pattern." |