Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
n
/
nested_func_defined_in_loop.py
blob: 39d2889a4434c85f2467e8998ab31385cde589bc [
file
] [
log
] [
blame
]
"""Check a nested function defined in a loop."""
def
example
(
args
):
"""The check"""
for
i
in
args
:
def
nested
():
print
(
i
)
# [cell-var-from-loop]
nested
()
for
i
in
args
:
print
(
i
)