mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PY-61591 The scope of a class' variable does not extend to contained blocks
GitOrigin-RevId: 871bb3584f9c72f91aced9e86909feccf0a901d7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
059a568ad0
commit
3affb20872
+9
@@ -0,0 +1,9 @@
|
||||
class A:
|
||||
def foo(self): ...
|
||||
|
||||
def bar(self):
|
||||
def baz():
|
||||
foo()
|
||||
|
||||
def foo():
|
||||
print('baz')
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class A:
|
||||
def foo(self): ...
|
||||
|
||||
def bar(self):
|
||||
def baz():
|
||||
<selection>print('baz')</selection>
|
||||
Reference in New Issue
Block a user