Skip to content

Commit eb914a4

Browse files
Apply suggestions from code review
Co-authored-by: Joren Hammudoglu <[email protected]>
1 parent 25932fe commit eb914a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spec/glossary.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This section defines a few terms that may be used elsewhere in the specification
6262
extra items
6363
A :ref:`TypedDict <typeddict>` type with extra items may contain arbitrary
6464
additional :term:`items <item>` beyond those specified in the TypedDict definition, but those
65-
items must be of the type specified by the TypedDict definition.
65+
items must be of the type specified by that definition.
6666
A TypedDict with extra items can be created using the ``extra_items=``
6767
argument to :py:func:`typing.TypedDict`. Extra items may or may not be
6868
:term:`read-only`. Compare :term:`closed` and :term:`open`.
@@ -156,7 +156,7 @@ This section defines a few terms that may be used elsewhere in the specification
156156

157157
read-only
158158
A read-only :term:`item` in a :ref:`TypedDict <typeddict>` may not be modified.
159-
Attempts to assign to or delete that item
159+
Attempts to delete or assign to that item
160160
should be reported as type errors by a type checker. Read-only items are created
161161
using the :py:data:`typing.ReadOnly` qualifier.
162162

0 commit comments

Comments
 (0)