From f87336cf33c01fd9e75290f6b88e0219409561a2 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:44:12 +0100 Subject: [PATCH] Misc. fixes --- peps/pep-0764.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peps/pep-0764.rst b/peps/pep-0764.rst index 324745b438e5..fc278731ac73 100644 --- a/peps/pep-0764.rst +++ b/peps/pep-0764.rst @@ -100,11 +100,11 @@ It is possible to define a nested inlined dictionary:: Movie = TypedDict[{'name': str, 'production': TypedDict[{'location': str}]}] - # Note that the following is invalid as per the updated `type_expression` production: + # Note that the following is invalid as per the updated `type_expression` grammar: Movie = TypedDict[{'name': str, 'production': {'location': str}}] Although it is not possible to specify any class arguments such as ``total``, -Any :external+typing:term:`type qualifier` can be used for individual fields:: +any :external+typing:term:`type qualifier` can be used for individual fields:: Movie = TypedDict[{'name': NotRequired[str], 'year': ReadOnly[int]}]