mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-6548 @type in class docstrings does not recognize class variables
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Test(object):
|
||||
"""
|
||||
@cvar some: some variable
|
||||
@type some: C{str}
|
||||
"""
|
||||
some = 'hello'
|
||||
|
||||
def q(self, another):
|
||||
"""
|
||||
@param another: another variable
|
||||
@type another: C{str}
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user