Open
Description
Improve documentation
Link
https://supabase.com/docs/reference/python/range
Describe the problem
The python range documentation has the following issues:
- Inconsistent naming - The parameter list uses
start
andend
while the description usesfrom
andto
- Incorrect offset end description - The description states that the result is limited by "starting at an offset (
from
) and ending at the offset (from + to
)". This is incorrect as the end index is justto
. E.g. range(20, 30) returns 11 items (20-30), not 51 items (20-20+30)
Describe the improvement
- Range indices are references as
from
andto
in parameter list. This is aligned with the documentation for other languages. - Description states that range offset ends at just
to