fixed PY-6548 @type in class docstrings does not recognize class variables

This commit is contained in:
Ekaterina Tuzova
2012-05-11 18:32:33 +04:00
parent f5300f32da
commit b997c753a5
7 changed files with 39 additions and 7 deletions
@@ -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