Glossary¶
- collection¶
An object which is iterable, has a length and can be tested with ‘in’ operator. Abstract base class defined in
collections.abc.Collection.- iterable¶
An object which can be iterated over (e.g. in a
for .. inloop). Abstract base class defined incollections.abc.Iterable.- mapping¶
An dict-like object which behaves like a collection, can be accessed with indexer syntax (
obj[key]) and has methodsget(),keys(),values()anditems(). Abstract base class defined incollections.abc.Mapping.- path-like¶
A value representing a file system path having the type of
stror any path object frompathlib. This library does not acceptbytesobjects.- sequence¶
An list-like object which behaves like a collection, can be accessed with indexer syntax (
obj[index]) andreversed(), and has methodsindex()andcount(). Abstract base class defined incollections.abc.Sequence.- mutable set¶
An set-like object which behaves like a collection, defines operators
|=,|,&=,&,-=,-,^=, and^; all comparison operators; and methodsadd(),remove(),discard(),clear(),pop(), andisdisjoint(). Abstract base class defined incollections.abc.MutableSet.