commit | 55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jul 31 03:54:02 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jul 31 03:54:02 1997 +0000 |
tree | ca863911a7ea4619c2a97c58c524a1882a040f23 | |
parent | fd16ca4542b418e5fa1f70782f65f905540da711 [diff] |
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!