Definitions
from Wiktionary, Creative Commons Attribution/Share-Alike License.
- noun computing, object-oriented programming A
class that serves as a template for otherclasses rather thanobjects .
Etymologies
from Wiktionary, Creative Commons Attribution/Share-Alike License
Support
Help support Wordnik (and make this page ad-free) by adopting the word metaclass.
Examples
-
A metaclass is a bit heavy-handed for a class variable.
Planet Python 2010
-
A metaclass is a bit heavy-handed for a class variable.
Planet Python 2010
-
This kind of thing is called metaclass hacking and is generally considered fearsomely esoteric-deep black magic.
Linux Journal - The Original Magazine of the Linux Community 2009
-
A metaclass is a class whose instances are classes.
Planet Python 2009
-
Recall, a metaclass is the class of a class, so what is the class of object:
Planet Python 2009
-
This kind of thing is called metaclass hacking and is generally considered fearsomely esoteric-deep black magic.
Linux Journal - The Original Magazine of the Linux Community 2009
-
Recall that the last argument to the constructor of a metaclass is a dictionary containing the namespace of the class.
Planet Python 2009
-
The interpreter calls the metaclass to create it ...
-
The word "metaclass" often strikes fear into the hearts of Python programmers.
Planet Python 2009
-
None) 87 if getattr (value, "__isabstractmethod__", False): TypeError: Error when calling the metaclass bases 'getset_descriptor' object is not iterable Anybody knows why?
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.