fixed PY-8783 Specify return type using annotation: intention seems to do nothing

This commit is contained in:
Ekaterina Tuzova
2013-02-12 14:30:14 +04:00
parent 340dbd62e2
commit 2dc50cdbc5
7 changed files with 49 additions and 24 deletions
@@ -0,0 +1,4 @@
def my_func(p1=1) -> object:
return p1
d = my_func(1)
@@ -0,0 +1,4 @@
def my_func(p1=1) -> object:
return p1
d = my_func(1)
@@ -0,0 +1,4 @@
def my_func(p1=1):
return p1
d = my<caret>_func(1)
@@ -0,0 +1,4 @@
def my<caret>_func(p1=1):
return p1
d = my_func(1)