summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-31 03:54:02 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-31 03:54:02 (GMT)
commit55b9ab5bdb0ef3b00339d751a8db5e23aa936cf0 (patch)
treeca863911a7ea4619c2a97c58c524a1882a040f23 /Misc
parentfd16ca4542b418e5fa1f70782f65f905540da711 (diff)
downloadcpython-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