-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
gh-121196: Document dict.fromkeys
params as pos-only
#121197
Conversation
Doc patches usually get backported when applicable, especially if they automerge. |
I would prefer to update the whole |
@erlend-aasland I think that it is complicated. So, I would prefer to have a smaller scope for this change. |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
GH-121242 is a backport of this pull request to the 3.13 branch. |
Thanks everyone! |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Please, consider that some subtypes of
dict
change the signature back to pos-or-keyword args.But, since this is only about
dict
, I guess we can be very specific about it.Do we backport this change?
dict.fromkeys
must mark its parameters as pos-only #121196📚 Documentation preview 📚: https://cpython-previews--121197.org.readthedocs.build/