Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a86c1c commit 31302ebCopy full SHA for 31302eb
1 file changed
lib/utils/xrange.py
@@ -19,8 +19,6 @@ def __init__(self, *args):
19
else:
20
self._slice = slice(*args)
21
if self._slice.stop is None:
22
- # slice(*args) will never put None in stop unless it was
23
- # given as None explicitly.
24
raise TypeError("xrange stop must not be None")
25
26
@property
0 commit comments