Metaclasses

suggest change

Introduction

Metaclasses allow you to deeply modify the behaviour of Python classes (in terms of how they’re defined, instantiated, accessed, and more) by replacing the type metaclass that new classes use by default.

Remarks

When designing your architecture, consider that many things which can be accomplished with metaclasses can also be accomplished using more simple semantics:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents