You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating an invalid range should probably result in an InvalidRangeError or something similar. This would remove the need for is_valid and be more pythonic.
I'm just concerned it may violate the principle of least surprise.
The text was updated successfully, but these errors were encountered:
Creating an invalid range should probably result in an
InvalidRangeError
or something similar. This would remove the need foris_valid
and be more pythonic.I'm just concerned it may violate the principle of least surprise.
The text was updated successfully, but these errors were encountered: