diff options
author | Fred Drake <fdrake@acm.org> | 2001-09-24 20:04:29 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-09-24 20:04:29 (GMT) |
commit | 1cffd5ccff4f4fed205d9257f279f954ee127685 (patch) | |
tree | d44ca8abfdc69edef7e03165d05898652f44900d /Lib | |
parent | 68f8a8061d4f217ec97d8dc19925ba3b57621be1 (diff) | |
download | cpython-1cffd5ccff4f4fed205d9257f279f954ee127685.zip cpython-1cffd5ccff4f4fed205d9257f279f954ee127685.tar.gz cpython-1cffd5ccff4f4fed205d9257f279f954ee127685.tar.bz2 |
Be consistent about the string module.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/markupbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/markupbase.py b/Lib/markupbase.py index 0bb7c89..2055676 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()) |