summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_no_dummy_redefined.py
blob: a5c0aea4abeac872cd308e6d487cee35445a63c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Make sure warnings about redefinitions do not trigger for dummy variables."""
from __future__ import print_function


_, INTERESTING = 'a=b'.split('=')

value = 10


def clobbering():
    """Clobbers a dummy name from the outer scope."""
    value = 9
    for _ in range(7):
        print(value)