Metaclass

A metaclass is a class whose instances are classes.

Python Example

For more Python class related examples, see:

Python provides the capability to define custom metaclasses.

# Import the Abstract Base Class.
from abc import ABCMeta

# Define a metaclass.
class MyABC:
    __metaclass__ = ABCMeta