Various Python 3 fixes

This commit is contained in:
Mike Croucher 2015-03-03 20:47:09 +00:00
parent 4642f5ac2b
commit 35aec1c6d0
2 changed files with 3 additions and 3 deletions

View file

@ -581,7 +581,7 @@ class Indexable(Nameable, Updateable):
if len(transforms) == 0:
transforms = which.properties()
removed = np.empty((0,), dtype=int)
for t in transforms:
for t in list(transforms):
unconstrained = which.remove(t, self._raveled_index())
removed = np.union1d(removed, unconstrained)
if t is __fixed__: