Why doesn't the following produce a pylint warning?

for counter in range(2):
    for counter in range(3):
        print(counter)

Note that we've used "counter" twice.

Thanks!

--
Dan Stromberg