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

Module strings

Import path

import semmle.python.strings

Imports

Predicates

format_items

Gets the number of format items in a format string

format_string
illegal_conversion_specifier
mapping_format
repr

Gets a string representation of an expression more suited for embedding in message strings than .toString()