Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] Enhance TypedDict docs around required/optional keys (GH-109547) #109982

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 27, 2023

As discussed in comments to GH-109544, the semantics of this attribute
are somewhat confusing. Add a note explaining its limitations and
steering users towards required_keys and optional_keys instead.
(cherry picked from commit f49958c)

Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com


馃摎 Documentation preview 馃摎: https://cpython-previews--109982.org.readthedocs.build/

As discussed in comments to pythonGH-109544, the semantics of this attribute
are somewhat confusing. Add a note explaining its limitations and
steering users towards __required_keys__ and __optional_keys__ instead.
(cherry picked from commit f49958c)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@AlexWaygood AlexWaygood removed their request for review September 28, 2023 06:58
@vstinner vstinner merged commit ee2f2bd into python:3.12 Oct 4, 2023
29 checks passed
@miss-islington miss-islington deleted the backport-f49958c-3.12 branch October 4, 2023 11:57
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants