summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-18 19:22:22 +0000
committerGuido van Rossum <guido@python.org>2003-02-18 19:22:22 +0000
commitfafad514ba0efb52458555d29e34338a8d048040 (patch)
treec775d1d85c5307aed0f718979b08b2fda8d606b3 /Python/errors.c
parent9d4abdbafa2f169e41a724fccadb2430e3b9272f (diff)
downloadcpython-fafad514ba0efb52458555d29e34338a8d048040.tar.gz
The recent changes to super(), in particular supercheck(), broke when
using super() for an instance in a metaclass situation. Because the class was a metaclass, the instance was a class, and hence the PyType_Check() branch was taken. But this branch didn't apply. Make it so that if this branch doesn't apply, the other branch is still tried. All tests pass.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions