Fixed generation of type in docstring in case of it already presents as @param (PY-8930).

This commit is contained in:
Dmitry Trofimov
2013-02-21 13:26:02 +04:00
parent 9dfd89fe97
commit 3d9c6a7585
5 changed files with 56 additions and 21 deletions
@@ -0,0 +1,7 @@
def foo(bar, baz):
"""Do foo.
:type bar: object<caret>
:param bar: something
:return: something else
"""
return bar + baz
@@ -0,0 +1,6 @@
def foo(b<caret>ar, baz):
"""Do foo.
:param bar: something
:return: something else
"""
return bar + baz