Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Python
codeql/python-all 4.0.9 (changelog, source)

Member predicate ClassValue::isSequence

Holds if this class is a sequence. Mutually exclusive with isMapping().

Following the definition from https://docs.python.org/3/glossary.html#term-sequence. We don’t look at the keys accepted by `getitem, but default to treating a class as a sequence (so might treat some mappings as sequences).

predicate isSequence()