forked from VimPlug/jedi
do class scoping the right way (no direct access to class stuff in methods)
This commit is contained in:
@@ -26,6 +26,11 @@ class TestClass(object):
|
||||
self.var_
|
||||
|
||||
def ret(self, a1):
|
||||
# should not know any class functions!
|
||||
#? []
|
||||
values
|
||||
#? []
|
||||
ret
|
||||
return a1
|
||||
|
||||
# should not work
|
||||
|
||||
Reference in New Issue
Block a user