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

Module StdlibPrivate::StringIO

Provides models for the io.StringIO/io.BytesIO classes

See https://docs.python.org/3.10/library/io.html#io.StringIO.

Import path

import semmle.python.frameworks.Stdlib

Predicates

classRef

Gets a reference to the io.StringIO class.

instance

Gets a reference to an instance of io.StringIO/io.BytesIO.

Classes

InstanceSource

A source of instances of io.StringIO/io.BytesIO, extend this class to model new instances.