Josh Rosenberg <[email protected]> added the comment:
Clarification is fine, but "MyClass and MySubclass are instances of Meta:" is
100% true. Declaring a class to have a metaclass (or inheriting from a class
with a metaclass) means that the class itself is an instance of the metaclass.
New instances of the classes with metaclass Meta are not "created using Meta";
Meta modifies the creation of the classes themselves, not instances of the
classes.
Point is, your suggested change is half wrong (new instances of MyClass and
MySubclass aren't directly created using Meta), and half misunderstanding the
current documentation ("MyClass is an instance of Meta" already means "MyClass
has the metaclass Meta").
----------
nosy: +josh.r
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36947>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com