Skip to content

Reword docs to avoid saying things that aren't accurate#2523

Closed
Rosuav wants to merge 1 commit into
python:masterfrom
Rosuav:range-not-function
Closed

Reword docs to avoid saying things that aren't accurate#2523
Rosuav wants to merge 1 commit into
python:masterfrom
Rosuav:range-not-function

Conversation

@Rosuav
Copy link
Copy Markdown
Contributor

@Rosuav Rosuav commented Jul 1, 2017

No description provided.

@mention-bot
Copy link
Copy Markdown

@Rosuav, thanks for your PR! By analyzing the history of the files in this pull request, we identified @1st1, @birkenfeld and @tiran to be potential reviewers.

@Rosuav
Copy link
Copy Markdown
Contributor Author

Rosuav commented Jul 1, 2017

(Trivial)

@wm75
Copy link
Copy Markdown

wm75 commented Jul 2, 2017

Compare to https://docs.python.org/3/tutorial/controlflow.html#the-range-function, which has the same problem. PR #273 proposes to change this section, but leaves the range is a function part unaltered. It introduces the returned object as an iterable instead of a sequence and, of course, either is correct.

@serhiy-storchaka serhiy-storchaka added the docs Documentation in the Doc dir label Dec 8, 2018
@rhettinger
Copy link
Copy Markdown
Contributor

Sorry, but I don't see any improvement here.

@rhettinger rhettinger closed this Dec 24, 2018
@Rosuav
Copy link
Copy Markdown
Contributor Author

Rosuav commented Dec 24, 2018

Fine, whatevs. I opened the PR in direct response to someone who was asking about how come range() wasn't behaving like an iterator, so there definitely is some inaccuracy and some confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants