[docs] [issue36947] [Good first issue] Fix 18.104.22.168 Metaclasses Documentation
report at bugs.python.org
Fri May 17 11:35:13 EDT 2019
Nicholas Matthews <nmatthews at asapp.com> added the comment:
Thanks for the clarification. For the first point on the correctness of the original text, that makes sense, could you link me to any relevant documentation for further reading?
On the second point "Meta modifies the creation of the classes themselves, not instances of the classes." I think this is not 100% correct. When you create an instance of a class via "instance = MyClass()", the `__call__` method of the metaclass is invoked, so metaclasses can control both class definition and instance creation.
Python tracker <report at bugs.python.org>
More information about the docs