abc — Abstract Base Classes — Python 3.14.7 documentation

docs.python.org

Tin mới

contextlib — Utilities for with-statement contexts

atexit — Exit handlers

Python Module Index

3.14.7 Documentation

The Python Standard Library

Python Runtime Services

abstract base classes

This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a ty

numbers: Numeric abstract base classes (Complex, Real, Integral, etc.).

This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a ty

collections: Container datatypes

This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a ty

collections.abc: Abstract base classes for containers

This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a ty

__subclasscheck__()

Check whether subclass is considered a subclass of this ABC. This means that you can customize the behavior of issubclass() further without the need to call register() on every class you want to consider a subclass of th