summaryrefslogtreecommitdiff
path: root/Python/pythonrun.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
commit06f89f2e437d6772fea5b5a6d1cdb1bd8be68387 (patch)
tree1ffb33aadb53d2c88d38616f2f4ffb539fef6308 /Python/pythonrun.c
parentaa849ac9807d55f5d41126363ee9bc07fb090c11 (diff)
downloadcpython-06f89f2e437d6772fea5b5a6d1cdb1bd8be68387.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions