[Python-checkins] cpython (2.7): remove extra zero
benjamin.peterson
python-checkins at python.org
Tue Feb 21 14:08:35 CET 2012
http://hg.python.org/cpython/rev/32c8af00eef2
changeset: 75122:32c8af00eef2
branch: 2.7
user: Benjamin Peterson <benjamin at python.org>
date: Tue Feb 21 08:08:29 2012 -0500
summary:
remove extra zero
files:
Lib/re.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/re.py b/Lib/re.py
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -199,7 +199,7 @@
return _compile(pattern, flags|T)
_alphanum = frozenset(
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890")
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
def escape(pattern):
"Escape all non-alphanumeric characters in pattern."
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list