Useful baseclasses for metaclasses
Project description
Some ideas about improving metaclasses. PEP 422 is a proposal to have a replacement for metaclasses. This implements something like that, using metaclasses.
The difference is that instead of having an initializer for a class, one defines initializers for all subclasses.
An example of usage can be found in example.py.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metaclass-1.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for metaclass-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 265990f33e2670dd75cdc3a1b88d4961811fb795dbad5f94452b506849d85c23 |
|
MD5 | a2ed2be653c2918abf7064edc894cd28 |
|
BLAKE2b-256 | 9ac88d9717d3a1cc663f8250fb9b022ae586b7632efc9e9937af59123b7d9ab0 |