summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index f53080e..812589a 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -2498,7 +2498,7 @@ types.
This attribute reflects *only* the value of the ``total`` argument
to the current ``TypedDict`` class, not whether the class is semantically
- total. For example, a ``TypedDict`` with ``__total__`` set to True may
+ total. For example, a ``TypedDict`` with ``__total__`` set to ``True`` may
have keys marked with :data:`NotRequired`, or it may inherit from another
``TypedDict`` with ``total=False``. Therefore, it is generally better to use
:attr:`__required_keys__` and :attr:`__optional_keys__` for introspection.