HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of metaclass | Babel Free

Noun CEFR B2

Definitions

A class that serves as a template for other classes rather than objects.

Equivalents

Deutsch Metaklasse
Français métaclasse
Polski metaklasa

Examples

“That is, all metaclasses (such as Collection class, Object class and Set class) are instances of the class Metaclass. This is because all metaclasses have the same behavior. They define the structure, definition and behavior of a class.”
“First, the class can explicitly specify its metaclass by either setting a __metaclass__ class variable (Python 2), or supplying the metaclass keyword argument in the tuple of base classes (Python 3).”

CEFR level

B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.

See also

Learn this word in context

See metaclass used in real conversations inside our free language course.

Start Free Course