diff options
author | Guido van Rossum <guido@python.org> | 1997-07-31 03:54:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-31 03:54:02 (GMT) |
commit | 55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0 (patch) | |
tree | ca863911a7ea4619c2a97c58c524a1882a040f23 /Misc | |
parent | fd16ca4542b418e5fa1f70782f65f905540da711 (diff) | |
download | cpython-55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0.zip cpython-55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0.tar.gz cpython-55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0.tar.bz2 |
Extend the "Don Beaudry hack" with "Guido's corollary" -- if the base
class has a __class__ attribute, call that to create the new class.
This allows us to write metaclasses purely in C!
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions