summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-21 13:08:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-21 13:08:29 (GMT)
commitb6596c516bcb4de4abf5722159d9aa3bff680173 (patch)
tree11548bd1b7317663d39b7d8cfc9c9905de91c856 /Lib
parent4ab701b2d30f1975bbea837234f6dfe52785c3d5 (diff)
downloadcpython-b6596c516bcb4de4abf5722159d9aa3bff680173.zip
cpython-b6596c516bcb4de4abf5722159d9aa3bff680173.tar.gz
cpython-b6596c516bcb4de4abf5722159d9aa3bff680173.tar.bz2
remove extra zero
Diffstat (limited to 'Lib')
-rw-r--r--Lib/re.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/re.py b/Lib/re.py
index 3934f49..aab5d37 100644
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -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."