diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index cfe484b8e4695d..198bc880f9d78e 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -305,7 +305,7 @@ single type parameter ``T`` . This also makes ``T`` valid as a type within the class body. The :class:`Generic` base class defines :meth:`~object.__class_getitem__` so -that ``LoggedVar[t]`` is valid as a type:: +that ``LoggedVar[T]`` is valid as a type:: from collections.abc import Iterable