From 1cffd5ccff4f4fed205d9257f279f954ee127685 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 24 Sep 2001 20:04:29 +0000 Subject: [PATCH] Be consistent about the string module. --- Lib/markupbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/markupbase.py b/Lib/markupbase.py index 0bb7c893b05..2055676fdbb 100644 --- a/Lib/markupbase.py +++ b/Lib/markupbase.py @@ -300,7 +300,7 @@ def _scan_name(self, i, declstartpos): 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())