Skip to content

Commit 89d5d85

Browse files
committed
Correct comment
1 parent 15cb250 commit 89d5d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_range.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef struct {
1515
long len;
1616
} _PyRangeIterObject;
1717

18-
// Does this range have start == 0, step == 1 and step in compact int range?
18+
// Does this range have step == 1 and both start and stop in compact int range?
1919
int _PyRange_IsSimpleCompact(PyObject *range);
2020
Py_ssize_t _PyRange_GetStartIfCompact(PyObject *range);
2121
Py_ssize_t _PyRange_GetStopIfCompact(PyObject *range);

0 commit comments

Comments
 (0)