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).
Showing
Please
register
or
sign in
to comment
not other sequences (then we'd have to except strings, and we'd still be susceptible to recursive attacks).