]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-98561: Fix a typo in typing (GH-98562)
authorOmkaar <79257339+Infiniticity@users.noreply.github.com>
Sun, 23 Oct 2022 14:05:08 +0000 (19:35 +0530)
committerGitHub <noreply@github.com>
Sun, 23 Oct 2022 14:05:08 +0000 (22:05 +0800)
Doc/library/typing.rst

index dc5696aff69bd43893afeceb851c99d8da2a0d0d..ae7e223069962e878a4a00d9c4c98a5b4b1551ba 100644 (file)
@@ -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