From: Fred Drake Date: Mon, 24 Sep 2001 20:04:29 +0000 (+0000) Subject: Be consistent about the string module. X-Git-Tag: v2.2.1c1~1648 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cffd5ccff4f4fed205d9257f279f954ee127685;p=python Be consistent about the string module. --- diff --git a/Lib/markupbase.py b/Lib/markupbase.py index 0bb7c893b0..2055676fdb 100644 --- a/Lib/markupbase.py +++ b/Lib/markupbase.py @@ -300,7 +300,7 @@ class ParserBase: name = s.strip() if (i + len(s)) == n: return None, -1 # end of buffer - return name.lower(), m.end() + return string.lower(name), m.end() else: self.updatepos(declstartpos, i) self.error("expected name token", self.getpos())