]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-98561: Fix a typo in typing (GH-98562)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 Oct 2022 14:13:25 +0000 (07:13 -0700)
committerGitHub <noreply@github.com>
Sun, 23 Oct 2022 14:13:25 +0000 (07:13 -0700)
(cherry picked from commit b6d5d5b60afc61337c569c07a881003faaa791e7)

Co-authored-by: Omkaar <79257339+Infiniticity@users.noreply.github.com>
Doc/library/typing.rst

index 04f63f6f54bc7747f41b6f1b63673605605d74e2..a9c71c466205ace054cb4dddbe5214188f31e5b8 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