]> 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:11:29 +0000 (07:11 -0700)
committerGitHub <noreply@github.com>
Sun, 23 Oct 2022 14:11:29 +0000 (07:11 -0700)
(cherry picked from commit b6d5d5b60afc61337c569c07a881003faaa791e7)

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

index cfe484b8e4695d4e936e1a32bf2701903fb031b3..198bc880f9d78e7856d5472e908a0d804b01f72a 100644 (file)
@@ -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