]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37045: PEP 591: Add final qualifiers to typing module (GH-13571)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Sun, 26 May 2019 08:37:07 +0000 (09:37 +0100)
committerGitHub <noreply@github.com>
Sun, 26 May 2019 08:37:07 +0000 (09:37 +0100)
commitf367242d10ef36db38133a39ab7627f63099cba4
tree9e6b8d67b14a69fda120cc5433013b6d1f7b6c35
parent47dd2f9fd86c32a79e77fef1fbb1ce25dc929de6
bpo-37045: PEP 591: Add final qualifiers to typing module (GH-13571)

The implementation is straightforward, it just mimics `ClassVar` (since the latter is also a name/access qualifier, not really a type). Also it is essentially copied from `typing_extensions`.
Doc/library/typing.rst
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2019-05-25-18-36-50.bpo-37045.suHdVJ.rst [new file with mode: 0644]