diff Python/thread.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 876aecef6483
children ebfd87e87884
line wrap: on
line diff