Prevent name clash in utils.iter.startswith.

This commit is contained in:
Valentin Lorentz 2012-08-04 17:26:59 +02:00
parent b8fe420ef3
commit 0a4a12243d

View File

@ -148,8 +148,8 @@ def ilen(iterable):
i += 1
return i
def startswith(long, short):
longI = iter(long)
def startswith(long_, short):
longI = iter(long_)
shortI = iter(short)
try:
while True: