Collection Attributes

collections.ChainMap.maps

Actual list of underlying mappings in search order. Changes to the list or its mappings affect subsequent lookups.

Formal Syntax & Structure

python syntaxpython
chain.maps

Return Value

list

The list result described above.

Working Example

Example Snippetpython
import collectionsc=collections.ChainMap({"x":1},{"x":2})print(c.maps)
Python Reference