Skip to content

gh-133361: move the explanation of dict equal before its use #133424

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Yzi-Li
Copy link
Contributor

@Yzi-Li Yzi-Li commented May 5, 2025

Move the explanation of dict's == operator before its use.


📚 Documentation preview 📚: https://cpython-previews--133424.org.readthedocs.build/

@StanFromIreland
Copy link
Contributor

Requesting @terryjreedy , is this what you wanted?

@Yzi-Li
Copy link
Contributor Author

Yzi-Li commented May 6, 2025

Yes, thanks!

@terryjreedy
Copy link
Member

Not quite. I meant to move 5011-3, "Dictionaries compare equal ... TypeError." to the beginning of 4826, "To illustrate,", with the latter part of the same paragraph. I think the latter should be expanded to "To illustrate dict creation and equality,".

I think moving the order text and example, as you did, is also good. I will look at the preview after the additional change.

@terryjreedy terryjreedy self-assigned this May 6, 2025
@terryjreedy terryjreedy added the needs backport to 3.13 bugs and security fixes label May 6, 2025
@Yzi-Li
Copy link
Contributor Author

Yzi-Li commented May 6, 2025

@terryjreedy Hi! I have seen your suggestions. Could you please review again? Thanks!

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 needs backport to 3.13 bugs and security fixes skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants