diff options
author | Guido van Rossum <guido@python.org> | 1997-07-31 03:54:02 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-31 03:54:02 +0000 |
commit | 06f89f2e437d6772fea5b5a6d1cdb1bd8be68387 (patch) | |
tree | 1ffb33aadb53d2c88d38616f2f4ffb539fef6308 /Python/pythonrun.c | |
parent | aa849ac9807d55f5d41126363ee9bc07fb090c11 (diff) | |
download | cpython-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