diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2022-04-12 19:31:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 19:31:02 (GMT) |
commit | ac6c3de03c5bb06a9a463701fb297148f5a5746f (patch) | |
tree | 25b1ec6488f3200156cfea2704179d2a0e90c0c2 /Python/Python-ast.c | |
parent | 474fdbe9e4a2ff90ef39e8748da644c86a200981 (diff) | |
download | cpython-ac6c3de03c5bb06a9a463701fb297148f5a5746f.zip cpython-ac6c3de03c5bb06a9a463701fb297148f5a5746f.tar.gz cpython-ac6c3de03c5bb06a9a463701fb297148f5a5746f.tar.bz2 |
gh-91243: Add typing.Required and NotRequired (PEP 655) (GH-32419)
I talked to @davidfstr and I offered to implement the runtime part of PEP 655
to make sure we can get it in before the feature freeze. We're going to defer
the documentation to a separate PR, because it can wait until after the feature
freeze.
The runtime implementation conveniently already exists in typing-extensions,
so I largely copied that.
Co-authored-by: David Foster <david@dafoster.net>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions