Collection Interface ABCs

collections.abc.MutableMapping

Mapping interface extended by __setitem__ and __delitem__; supplies update and other mutation mixins.

Formal Syntax & Structure

python syntaxpython
collections.abc.MutableMapping

Return Value

type

Abstract base class object representing the described interface; use it for recognition or inheritance.

Working Example

Example Snippetpython
import collections.abcprint(isinstance({"x":1},collections.abc.MutableMapping))
Python Reference