typeError: isinstance() arg 2 must be a type or tuple of types >>> November 23, 2023 by Tarik You’ve stomped on list by assigning to a local variable of the same name. Don’t do that.