Skip to content

Commit 56eded4

Browse files
committed
update
1 parent 46eb4d0 commit 56eded4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netCDF4/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def _StartCountStride(elem, shape, dimensions=None, grp=None, datashape=None,\
415415
else:
416416
length = e.start+datashape[i]
417417
except IndexError:
418-
raise IndexError("Illegal slice")
418+
raise IndexError("shape of data does not conform to slice")
419419
else:
420420
if unlim and datashape == () and len(dim) == 0:
421421
# writing scalar along unlimited dimension using slicing

0 commit comments

Comments
 (0)