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
[doc] Remove duplicated operator.itemgetter example #24178
Merged
orsenthil
merged 2 commits into
python:master
from
andresdelfino:duplicated_example_itemgetter
Apr 27, 2021
Merged
[doc] Remove duplicated operator.itemgetter example #24178
orsenthil
merged 2 commits into
python:master
from
andresdelfino:duplicated_example_itemgetter
Apr 27, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
This PR is stale because it has been open for 30 days with no activity. |
|
Thanks @andresdelfino for the PR, and @orsenthil for merging it |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 27, 2021
* Remove duplicated itemgetter example * Add spaces (cherry picked from commit 743e2ba) Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
GH-25646 is a backport of this pull request to the 3.9 branch. |
|
GH-25647 is a backport of this pull request to the 3.8 branch. |
orsenthil
pushed a commit
that referenced
this pull request
Apr 27, 2021
orsenthil
pushed a commit
that referenced
this pull request
Apr 27, 2021
kreathon
pushed a commit
to kreathon/cpython
that referenced
this pull request
May 2, 2021
* Remove duplicated itemgetter example * Add spaces
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 issue
skip news
stale
Stale PR or inactive for long period of time.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Don't understand how we got here, but we have two examples for operator.itemgetter when used with dictionaries.
These are the PRs that added them:
#1280
#3431
Note that when each PR was created no example existed, yet they vary greatly on date.
Having two examples for the exact same use case is confusing. I'm preserving Raymond's example as it is clearer.
Also, fix markup by removing a blank line.