]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Implement isinstance(x, (A, B, ...)). Note that we only allow tuples,
authorGuido van Rossum <guido@python.org>
Sun, 7 Oct 2001 20:54:12 +0000 (20:54 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 7 Oct 2001 20:54:12 +0000 (20:54 +0000)
commit03290ecbf1661c0192e6abdbe00ae163af461d77
treefc324d37b87c8d229d726f41de8dfc3bc33fda3a
parent1f733baa04a56eed0a5823158205fc04502e3050
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).
Objects/abstract.c
Python/bltinmodule.c