Files
openide/python/testData/inspections/PyStringFormatInspection/TupleMultiplication.py

6 lines
232 B
Python

argument_pattern = re.compile(r'(%s)\s*(\(\s*(%s)\s*\)\s*)?$'
% ((states.Inliner.simplename,) * 2))
t, num = ('foo',), 2
res = '%d %d' % (<warning descr="Unexpected type (str, str)">t * num</warning>)