Python內置collections.abc抽象类之定義

 

打开文件 Python\Python36\Lib_collections_abc.py 找到一下内容,都是抽象元类

_all__ = ["Awaitable", "Coroutine",

           "AsyncIterable", "AsyncIterator", "AsyncGenerator",

           "Hashable", "Iterable", "Iterator", "Generator", "Reversible",

           "Sized", "Container", "Callable", "Collection",

           "Set", "MutableSet",

           "Mapping", "MutableMapping",

           "MappingView", "KeysView", "ItemsView", "ValuesView",

           "Sequence", "MutableSequence",

           "ByteString",

           ]

你可能感兴趣的:(Python)