diff Python/errors.c @ 20307:aa681345bfab legacy-trunk

Implement isinstance(x, (A, B, ...)). Note that we only allow tuples, not other sequences (then we'd have to except strings, and we'd still be susceptible to recursive attacks).
author Guido van Rossum <guido@python.org>
date Sun, 07 Oct 2001 20:54:12 +0000
parents abaf9ea2e560
children d4406fbfcb4e
line wrap: on
line diff