Files
codeql/python/ql/src/Expressions/Formatting/UnusedNamedArgumentIn3101Format.py
2018-11-19 15:10:42 +00:00

4 lines
166 B
Python

def surplus_argument():
the_format = "{spam} {eggs}" # Used to be "{spam} {eggs} {chips}"
return the_format.format(spam = "spam", eggs="eggs", chips="chips")