summaryrefslogtreecommitdiffstats
path: root/Lib/markupbase.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-24 20:04:29 (GMT)
committerFred Drake <fdrake@acm.org>2001-09-24 20:04:29 (GMT)
commit1cffd5ccff4f4fed205d9257f279f954ee127685 (patch)
treed44ca8abfdc69edef7e03165d05898652f44900d /Lib/markupbase.py
parent68f8a8061d4f217ec97d8dc19925ba3b57621be1 (diff)
downloadcpython-1cffd5ccff4f4fed205d9257f279f954ee127685.zip
cpython-1cffd5ccff4f4fed205d9257f279f954ee127685.tar.gz
cpython-1cffd5ccff4f4fed205d9257f279f954ee127685.tar.bz2
Be consistent about the string module.
Diffstat (limited to 'Lib/markupbase.py')
-rw-r--r--Lib/markupbase.py2
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())