diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index dc5696aff69bd43893afeceb851c99d8da2a0d0d..ae7e223069962e878a4a00d9c4c98a5b4b1551ba 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -319,7 +319,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