Skip to content

gh-77753: Add example for values that compare equal in stdtypes - #98497

Merged
JelleZijlstra merged 3 commits into
python:mainfrom
slateny:s/77753
Oct 26, 2022
Merged

JelleZijlstra merged 3 commits into
python:mainfrom
slateny:s/77753

Conversation

@slateny

@slateny slateny commented Oct 20, 2022 •

Copy link
Copy Markdown
Contributor
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 20, 2022
Comment thread Doc/library/stdtypes.rst Resolved
Comment thread Doc/library/stdtypes.rst Resolved
@slateny
slateny requested a review from mdickinson October 20, 2022 20:59
Comment thread Doc/library/stdtypes.rst Resolved
Comment thread Doc/library/stdtypes.rst Resolved
Comment thread Doc/library/stdtypes.rst
@@ -4370,8 +4370,8 @@ type, the :dfn:`dictionary`. (For other containers see the built-in
A dictionary's keys are *almost* arbitrary values. Values that are not

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't like this "almost arbitrary values" wording, since several very common types (lists, dicts, sets) can't be used as dict keys. No need to change that in this PR though.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Comment thread Doc/library/stdtypes.rst Resolved
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @slateny for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-98693 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Oct 26, 2022
@bedevere-bot

Copy link
Copy Markdown

GH-98694 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 26, 2022
…pythonGH-98497)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 26, 2022
…pythonGH-98497)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Oct 26, 2022
…8497)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Oct 26, 2022
…8497)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
@slateny
slateny deleted the s/77753 branch October 26, 2022 03:45
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

4 participants