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]}]