[Python-checkins] gh-98561: Fix a typo in typing (GH-98562)
Fidget-Spinner
webhook-mailer at python.org
Sun Oct 23 10:05:26 EDT 2022
https://github.com/python/cpython/commit/b6d5d5b60afc61337c569c07a881003faaa791e7
commit: b6d5d5b60afc61337c569c07a881003faaa791e7
branch: main
author: Omkaar <79257339+Infiniticity at users.noreply.github.com>
committer: Fidget-Spinner <kenjin at python.org>
date: 2022-10-23T22:05:08+08:00
summary:
gh-98561: Fix a typo in typing (GH-98562)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index dc5696aff69b..ae7e22306996 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
More information about the Python-checkins
mailing list