Skip to content

Commit

Permalink
Merge pull request #661 from scriptator/fix/IndexErro
Browse files Browse the repository at this point in the history
Fix misspelled IndexError in utils
  • Loading branch information
jswhit authored May 13, 2017
2 parents 77ba287 + ea4c93f commit e07dd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netCDF4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _StartCountStride(elem, shape, dimensions=None, grp=None, datashape=None,\
# convert negative indices in 1d array to positive ones.
ea = np.where(ea < 0, ea + shape[i], ea)
if np.any(ea < 0):
raise IndexErro("integer index out of range")
raise IndexError("integer index out of range")
# if unlim, let integer index be longer than current dimension
# length.
if ea.shape != (0,):
Expand Down

0 comments on commit e07dd74

Please sign in to comment.