PEP 705 Link to new discussion thread (#3492)

This commit is contained in:
Alice 2023-10-17 14:53:12 +01:00 committed by GitHub
parent 3759887f42
commit fb526a8822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@ PEP: 705
Title: TypedDict: Read-only and other keys
Author: Alice Purcell <alicederyn@gmail.com>
Sponsor: Pablo Galindo <pablogsal@gmail.com>
Discussions-To: https://discuss.python.org/t/pep-705-typedmapping/24827
Discussions-To: https://discuss.python.org/t/pep-705-typeddict-read-only-and-other-keys/36457
Status: Draft
Type: Standards Track
Topic: Typing
@ -12,6 +12,7 @@ Python-Version: 3.13
Post-History: `30-Sep-2022 <https://mail.python.org/archives/list/typing-sig@python.org/thread/6FR6RKNUZU4UY6B6RXC2H4IAHKBU3UKV/>`__,
`02-Nov-2022 <https://mail.python.org/archives/list/python-dev@python.org/thread/2P26R4VH2ZCNNNOQCBZWEM4RNF35OXOW/>`__,
`14-Mar-2023 <https://discuss.python.org/t/pep-705-typedmapping/24827>`__,
`17-Oct-2023 <https://discuss.python.org/t/pep-705-typeddict-read-only-and-other-keys/36457>`__,
Abstract
@ -262,8 +263,8 @@ The optional boolean ``readonly`` flag to ``TypedDict``, when ``True``, indicate
The ``readonly`` flag defaults to ``False``.
``typing.ReadOnly`` flag
------------------------
``typing.ReadOnly`` type qualifier
----------------------------------
The ``typing.ReadOnly`` type qualifier is used to indicate that a variable declared in a ``TypedDict`` definition may not be mutated by any operation performed on instances of the ``TypedDict``::