Mark unused loop iteration variable as such

This commit is contained in:
Robin Neatherway 2017-06-23 18:27:41 +01:00
parent 63d68df1d1
commit 4ac0a8e278

View File

@ -431,7 +431,7 @@ def generate_tokens(readline):
(lnum, pos), (lnum, pos+1), line)
pos = pos + 1
for indent in indents[1:]: # pop remaining indent levels
for _ in indents[1:]: # pop remaining indent levels
yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')