From: Fred Drake Date: Wed, 14 Mar 2001 16:18:56 +0000 (+0000) Subject: Change "[%s]" % string.whitespace to r"\s" in regular expressions. X-Git-Tag: v2.1b2~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62dfed96beb1572134b6165a032cfbaa3882f2f3;p=thirdparty%2FPython%2Fcpython.git Change "[%s]" % string.whitespace to r"\s" in regular expressions. --- diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 1f8f3b836a19..19580e259998 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -33,12 +33,11 @@ endtagopen = re.compile('a-zA-Z]') endbracket = re.compile('[<>]') special = re.compile(']*>') commentopen = re.compile('