[code-quality] Nested loop with same control variable: no warning?
Claudiu Popa
pcmanticore at gmail.com
Mon May 23 11:49:17 EDT 2016
On Mon, May 23, 2016 at 4:46 PM, Dan Stromberg <strombrg at gmail.com> wrote:
>
> 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 at python.org
> https://mail.python.org/mailman/listinfo/code-quality
>
Hi,
It's probably a bug, please fill an issue in our bug tracker,
so we don't lose this.
Thank you!
More information about the code-quality
mailing list