commit | 03290ecbf1661c0192e6abdbe00ae163af461d77 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Oct 07 20:54:12 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Oct 07 20:54:12 2001 +0000 |
tree | fc324d37b87c8d229d726f41de8dfc3bc33fda3a | |
parent | 1f733baa04a56eed0a5823158205fc04502e3050 [diff] |
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).