PY-6637 Add test cases on detection of nonlocal references inside escalated function
[idea/community.git] / python / testData / refactoring / convertTopLevel / nonlocalReferencesInInnerFunction.after.py
1 def func():
2     pass
3
4
5 def local():
6     x = True
7     def nested():
8         nonlocal x
9         x = False