Files
openide/python/testData/intentions/convertVariadicParamSeveralCallsWithDifferentKeysCaretOnContainer_after.py
Semyon Proshev 03a0dd5f59 Use default value of keys while determining if intention is available (PY-26286)
Unify replacing container usages, the only difference in cases was only presence of default value.

GitOrigin-RevId: 17d7aee3be0797956b00fda8d18953243d76297b
2020-01-29 15:36:20 +00:00

6 lines
124 B
Python

def foo(bar1=22, **kwargs):
a = bar1
b = bar1
c = kwargs.get("bar2", 22)
d = kwargs.get("bar2", default=23)