Files
openide/python/testData/inspections/PyArgumentListInspection/parameterWithDefaultAfterKeywordContainer.py
Semyon Proshev 1e07ba1cfa Avoid duplicate messages in compatibility inspection and unsupported features annotator (PY-33516)
Inspection does not register `CompatibilityVisitor` problems for its opened file language because in such a case
`UnsupportedFeatures` will annotate them.
Also `registerOnFirstMatchingVersion` methods were removed because
they could lead to duplication even if languages to register were different.
2019-01-14 17:27:39 +03:00

6 lines
152 B
Python

def foo(**kwargs): pass
two = 0
kw = {}
foo(**kw, <error descr="Python version 2.7 does not allow keyword arguments after **expression">two=1</error>)