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 15cb250 commit 89d5d85Copy full SHA for 89d5d85
Include/internal/pycore_range.h
@@ -15,7 +15,7 @@ typedef struct {
15
long len;
16
} _PyRangeIterObject;
17
18
-// Does this range have start == 0, step == 1 and step in compact int range?
+// Does this range have step == 1 and both start and stop in compact int range?
19
int _PyRange_IsSimpleCompact(PyObject *range);
20
Py_ssize_t _PyRange_GetStartIfCompact(PyObject *range);
21
Py_ssize_t _PyRange_GetStopIfCompact(PyObject *range);
0 commit comments