mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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)
|
||||
Reference in New Issue
Block a user