CodeQL library for Python
codeql/python-all 1.0.5-dev (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(StringLiteral e)