summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-17 11:18:38 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-17 11:18:38 (GMT)
commit8d32c8b59f9b5f4315f42a48b73a52adea3e10a2 (patch)
tree08128b39b33e961359cf962ae4ef0b5c9becc459 /Lib/sre.py
parent4b046c252e637a482e162f7057294c95933614f2 (diff)
downloadcpython-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