Files
openide/python/testData/quickFixes/PyRemoveArgumentQuickFixTest/postKwArg.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

8 lines
154 B
Python

def foo(a, **args):
pass
b = {}
foo(**b, <error descr="Python version 2.7 does not allow keyword arguments after **expression">a<caret>=1</error>)