From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 23 Oct 2022 14:11:29 +0000 (-0700) Subject: gh-98561: Fix a typo in typing (GH-98562) X-Git-Tag: v3.10.9~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3c23fc48cc9a72ec0ad447276bb07d1a85dd37f;p=thirdparty%2FPython%2Fcpython.git gh-98561: Fix a typo in typing (GH-98562) (cherry picked from commit b6d5d5b60afc61337c569c07a881003faaa791e7) Co-authored-by: Omkaar <79257339+Infiniticity@users.noreply.github.com> --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index cfe484b8e469..198bc880f9d7 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