PyDocs

Nav

Text Processing Services

Formatter.check_unused_args

string

method of Formatter (source)
  • Formatter.check_unused_args(used_args, args, kwargs)
Implement checking for unused arguments if desired. The arguments to this function is the set of all argument keys that were actually referred to in the format string (integers for positional arguments, and strings for named arguments), and a reference to the args and kwargs that was passed to vformat. The set of unused args can be calculated from these parameters. check_unused_args() is assumed to raise an exception if the check fails.
0 Examples
No examples for string/Formatter.check_unused_args.
See Also
No see-alsos for string/Formatter.check_unused_args
0 Notes
No notes for Formatter.check_unused_args