blob: 2871ed6f5970fa26f65319022f7528bed65685d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
""" Checks that reversed() receive proper argument """
# pylint: disable=missing-docstring
# pylint: disable=too-few-public-methods,no-self-use,no-absolute-import,invalid-name,unused-variable
def test():
def parent():
a = 42
def stuff():
nonlocal a
def parent2():
a = 42
def stuff():
def other_stuff():
nonlocal a
b = 42
def func():
def other_func():
nonlocal b # [nonlocal-without-binding]
|