Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Rephrase range
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorkarn committed Aug 17, 2022
1 parent 19f5820 commit cd816e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/categories/enumerated_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def _unrank_from_iterator(self, r):
if counter == r:
return u
counter += 1
raise ValueError("the rank must be between %s and %s inclusive"%(0,counter-1))
raise ValueError("the rank must be in the range from %s to %s"%(0,counter-1))
unrank = _unrank_from_iterator

def _rank_from_iterator(self, x):
Expand Down

0 comments on commit cd816e6

Please sign in to comment.