Skip to content

bpo-38385: Fix iterator/iterable terminology in statistics docs #17111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Nov 12, 2019

Suggested by Eric O. LEBIGOT

https://bugs.python.org/issue38385

Copy link
Contributor

@lebigot lebigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Do we still need to keep the "sequence or" (iterable) part? "data can be any iterable" would be enough and I prefer it:

  • It's short so the doc reads a bit faster.
  • It avoids being surprised and a bit puzzled (why mention sequence as an apparent alternative to an iterable?).

Sequence could still be mentioned as an example of iterable, if needed.

@rhettinger rhettinger merged commit 733b9a3 into python:master Nov 12, 2019
@rhettinger rhettinger deleted the statistics_iterator branch November 12, 2019 07:35
@miss-islington
Copy link
Contributor

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-17113 is a backport of this pull request to the 3.8 branch.

rhettinger added a commit that referenced this pull request Nov 12, 2019
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants