Be consistent about the string module.

This commit is contained in:
Fred Drake 2001-09-24 20:04:29 +00:00
parent 68f8a8061d
commit 1cffd5ccff
1 changed files with 1 additions and 1 deletions

View File

@ -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())