comparison Python/modsupport.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 7257e87e0720
children 1cef61d59478 ddc9543c76a0
comparison
equal deleted inserted replaced
20306:1ca228e21a98 20307:aa681345bfab