[Python-checkins] gh-98561: Fix a typo in typing (GH-98562)

miss-islington webhook-mailer at python.org
Sun Oct 23 10:11:34 EDT 2022


https://github.com/python/cpython/commit/f3c23fc48cc9a72ec0ad447276bb07d1a85dd37f
commit: f3c23fc48cc9a72ec0ad447276bb07d1a85dd37f
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-23T07:11:29-07:00
summary:

gh-98561: Fix a typo in typing (GH-98562)

(cherry picked from commit b6d5d5b60afc61337c569c07a881003faaa791e7)

Co-authored-by: Omkaar <79257339+Infiniticity at users.noreply.github.com>

files:
M Doc/library/typing.rst

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
 



More information about the Python-checkins mailing list