Kaydet (Commit) 1cffd5cc authored tarafından Fred Drake's avatar Fred Drake

Be consistent about the string module.

üst 68f8a806
......@@ -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())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment