Mercurial > cpython-lru_cache-weakref
diff Python/exceptions.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 | 8b3ea7335c1b |
| children | 639c0a3ae8dc |
