Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31302eb

Browse files
committed
Minor update
1 parent 2a86c1c commit 31302eb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/utils/xrange.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ def __init__(self, *args):
1919
else:
2020
self._slice = slice(*args)
2121
if self._slice.stop is None:
22-
# slice(*args) will never put None in stop unless it was
23-
# given as None explicitly.
2422
raise TypeError("xrange stop must not be None")
2523

2624
@property

0 commit comments

Comments
 (0)