diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-14 10:27:25 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-14 10:27:25 -0600 |
commit | 3a315030822ea08a8f563fc037a708716ce5be77 (patch) | |
tree | 6d6b36bf8caa427cfc09a5deed513b98bb2cefdb /numpy/core/defchararray.py | |
parent | 3f2c789ffd0d2e05596b15ea6cd644262f96200e (diff) | |
download | numpy-3a315030822ea08a8f563fc037a708716ce5be77.tar.gz |
2to3: Skip isinstance fixer.
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 #3085
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions