CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Predicate format_items

Gets the number of format items in a format string

Import path

import semmle.python.strings
int format_items(StrConst e)