Python stdlib module — collections. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.namedtuple()Neutralnamedtuple(typename, field_names, rename, defaults, module)
Returns a new subclass of tuple with named fields.
.ChainMap()NeutralChainMap(...)
A ChainMap groups multiple dicts (or other mappings) together
.Counter()NeutralCounter(...)
Dict subclass for counting hashable items. Sometimes called a bag
.UserList()NeutralUserList(...)
A more or less complete user-defined wrapper around list objects.
.defaultdict()Neutraldefaultdict(...)
defaultdict(default_factory=None, /, [...]) --> dict with default factory
| FQN | Field | |
|---|---|---|
| collections | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import collections