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
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to