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
[email protected]
http
On Mon, May 23, 2016 at 4:46 PM, Dan Stromberg 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
>
> __
> On Wed, May 18, 2016 at 11:39 AM, Ahirnish Pareek wrote:
>> Hi Devs,
>>
>> Just wondering if anyone has got any pointers on this.
>>
>> Thanks.
>>
Hi Ahirnish,
I'm not sure how can I replicate this. Can you create an issue
on our bug tracker (https://github.com/PyCQA/pylint) with
the reproduci