Skip to content

range() doc doesn't note it's an immutable sequence #138178

@NK5W

Description

@NK5W

Bug report

Bug description:

range():

So, if we want to implement a custom class that

  • is the same as range; or
  • is lazy,

we will find it difficult.

CPython versions tested on:

3.15

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirpendingThe issue will be closed if no feedback is provided

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions