Baby Steps to Metaclasses in Python3

Written by keosariel | Published 2020/04/10
Tech Story Tags: python | programming | beginners | python-top-story | tutorial | software-development | python-types | python3

TLDR Every single thing you create in python has a type associated with it. The type is essentially the class we instantiated initially, so to create a new instance we use the class name and the expected parameters or arguments which will later be the associated type. However classes also have types associated with them. The way we can modify classes is through inheritance. The class above is an example of what is called a META-CLASS. The class is a way to monitor or supervise what happens in class definition.via the TL;DR App

no story

Written by keosariel | Software engineer
Published by HackerNoon on 2020/04/10