diff options
author | Guido van Rossum <guido@python.org> | 2001-08-17 11:18:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-17 11:18:38 (GMT) |
commit | 8d32c8b59f9b5f4315f42a48b73a52adea3e10a2 (patch) | |
tree | 08128b39b33e961359cf962ae4ef0b5c9becc459 /Lib/sre.py | |
parent | 4b046c252e637a482e162f7057294c95933614f2 (diff) | |
download | cpython-8d32c8b59f9b5f4315f42a48b73a52adea3e10a2.zip cpython-8d32c8b59f9b5f4315f42a48b73a52adea3e10a2.tar.gz cpython-8d32c8b59f9b5f4315f42a48b73a52adea3e10a2.tar.bz2 |
type_new(): only defer to the winning metatype if it's different from
the metatype passed in as an argument. This prevents infinite
recursion when a metatype written in Python calls type.__new__() as a
"super" call.
Also tweaked some comments.
Diffstat (limited to 'Lib/sre.py')
0 files changed, 0 insertions, 0 deletions