mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 02:04:23 +07:00
Don't skip with-statement children while collecting target expressions inside function.
8 lines
167 B
Python
8 lines
167 B
Python
class Foo(object):
|
|
def __init__(self):
|
|
with open('b.py'):
|
|
self.scope = "a"
|
|
pass
|
|
|
|
def get_scope(self):
|
|
return self.scope |