]> granicus.if.org Git - python/commitdiff
remove extra zero
authorBenjamin Peterson <benjamin@python.org>
Tue, 21 Feb 2012 13:08:29 +0000 (08:08 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 21 Feb 2012 13:08:29 +0000 (08:08 -0500)
Lib/re.py

index 3934f499c8688574b66fe6dbd4f44fb3cf2810e5..aab5d37e589252dfe9b06f0ed3e8aa13def49eed 100644 (file)
--- 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."