fixed PY-7354 "Add return type annotation" quickfix on function to add :rtype: to docstring

This commit is contained in:
Ekaterina Tuzova
2012-08-31 19:22:12 +04:00
parent 9e42d4d30d
commit d40cc5a1f1
6 changed files with 198 additions and 129 deletions
@@ -0,0 +1,5 @@
def foo(a, b):
"""
:rtype : object
"""
b = 1
@@ -0,0 +1,2 @@
def f<caret>oo(a, b):
b = 1