From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 23 Oct 2022 14:13:25 +0000 (-0700) Subject: gh-98561: Fix a typo in typing (GH-98562) X-Git-Tag: v3.11.1~233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae68a45daadb79af3888b084d502162d19aa4103;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 04f63f6f54bc..a9c71c466205 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