Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change some
ValueError
s to TypeError
s
Had some `ValueError`s raised in `reformat_slice`, which really should have been `TypeError`s. The two cases in particular were unsupported general type or sequence that contained unsupported elements like non-integers. This converts them to `TypeError`s instead.
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters