summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-31 03:54:02 +0000
committerGuido van Rossum <guido@python.org>1997-07-31 03:54:02 +0000
commit55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0 (patch)
treeca863911a7ea4619c2a97c58c524a1882a040f23 /Python/compile.c
parentfd16ca4542b418e5fa1f70782f65f905540da711 (diff)
downloadcpython-git-55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0.tar.gz
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 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions