fixed PY-7089 Insert type assertion: leads to syntactically incorrect code when invoked for one-line function

This commit is contained in:
Ekaterina Tuzova
2012-08-01 14:40:38 +04:00
parent 855cf596f2
commit 9ae2649f39
4 changed files with 42 additions and 11 deletions
+7 -7
View File
@@ -1,9 +1,9 @@
def foo(a, b):
"""
"""
:param a:
:param b:
:return:
"""
if True:
return
:param a:
:param b:
:return:
"""
if True:
return
+2 -2
View File
@@ -1,3 +1,3 @@
def fo<caret>o(a, b):
if True:
return
if True:
return