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 i += 1
return i return i
def startswith(long, short): def startswith(long_, short):
longI = iter(long) longI = iter(long_)
shortI = iter(short) shortI = iter(short)
try: try:
while True: while True: