mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed generation of type in docstring in case of it already presents as @param (PY-8930).
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user