Collection Interface ABCs
collections.abc.MappingView
Base interface for views of mapping data; supports length. Key, item and value views specialize it.
Formal Syntax & Structure
python syntaxpython
collections.abc.MappingViewReturn Value
type
Abstract base class object representing the described interface; use it for recognition or inheritance.
Working Example
Example Snippetpython
import collections.abcprint(isinstance({}.keys(),collections.abc.MappingView))