Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The isinstance fixer removes duplicate types in the second argument of isinstance(). For example, isinstance(x, (int, int)) is converted to isinstance(x, (int)). This would certainly apply if we let the long fixer replace long by int, but as is it does nothing. Duplicate entries are supposedly deprecated in Python 3, I'm not sure why or how, but it does not seem to be a problem at this point. If it ever becomes so, we can deal with it then. Closes numpy#3085
- Loading branch information