Skip to content

Commit

Permalink
!= -> is not
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Oct 2, 2018
1 parent 55a58e2 commit 86f2f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/array/core.py
Expand Up @@ -183,7 +183,7 @@ def getem(arr, chunks, getitem=getter, shape=None, out_name=None, lock=False,
keys = list(product([out_name], *[range(len(bds)) for bds in chunks]))
slices = slices_from_chunks(chunks)

if getitem != operator.getitem and (not asarray or lock):
if getitem is not operator.getitem and (not asarray or lock):
values = [(getitem, arr, x, asarray, lock) for x in slices]
else:
# Common case, drop extra parameters
Expand Down

0 comments on commit 86f2f00

Please sign in to comment.