mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 07:58:04 +00:00
15 lines
299 B
Python
15 lines
299 B
Python
"""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)
|