]> granicus.if.org Git - python/commit
Extend the "Don Beaudry hack" with "Guido's corollary" -- if the base
authorGuido van Rossum <guido@python.org>
Thu, 31 Jul 1997 03:54:02 +0000 (03:54 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 31 Jul 1997 03:54:02 +0000 (03:54 +0000)
commit55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0
treeca863911a7ea4619c2a97c58c524a1882a040f23
parentfd16ca4542b418e5fa1f70782f65f905540da711
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!
Python/ceval.c