fixed PY-12825 Remove unused parameter: do not allow to remove last argument after star when refactoring function with keyword-only arguments

This commit is contained in:
Ekaterina Tuzova
2014-05-08 13:30:57 +04:00
parent 08cf27cc21
commit a249d4eda3
4 changed files with 20 additions and 1 deletions
@@ -0,0 +1,8 @@
def f1(*, u<caret>p, another):
"""
:param up: my param
:type up: int
:rtype: int
"""
print(another)
@@ -0,0 +1,6 @@
def f1(*, another):
"""
:rtype: int
"""
print(another)