Files
openide/python/testData/refactoring/changeSignature/renameStarredParameters.before.py
Mikhail Golubev d12cb1eee0 PY-8599 "Change signature" correctly handles rename of starred parameters
PyReferenceImpl.handleElementRename checks that new name of the
reference is valid identifier, which is not true for names prefixed
with '*'.
2014-12-17 20:31:04 +03:00

3 lines
89 B
Python

def func(arg1, *args, **kwargs):
args = list(args) + [arg1]
kwargs = dict(kwargs)