Predicate theStrType
Gets the ‘str’ class. This is the same as the ‘bytes’ class for Python 2 and the ‘unicode’ class for Python 3
Import path
import semmle.python.types.ClassObjectGets the ‘str’ class. This is the same as the ‘bytes’ class for Python 2 and the ‘unicode’ class for Python 3
import semmle.python.types.ClassObject