[Python-checkins] gh-101100: Fix sphinx warnings in `typing` module docs (GH-102260)
miss-islington
webhook-mailer at python.org
Sat Feb 25 16:55:55 EST 2023
https://github.com/python/cpython/commit/c2f42f177816ebfe6e351a76cb275bcfd4ad3329
commit: c2f42f177816ebfe6e351a76cb275bcfd4ad3329
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-25T13:55:49-08:00
summary:
gh-101100: Fix sphinx warnings in `typing` module docs (GH-102260)
(cherry picked from commit a498de4c0ef9e264cab3320afbc4d38df6394800)
Co-authored-by: Nikita Sobolev <mail at sobolevn.me>
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index b08977ef56be..02c3e0336d34 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -1588,7 +1588,7 @@ These are not used in annotations. They are building blocks for creating generic
methods, not their type signatures. For example, :class:`ssl.SSLObject`
is a class, therefore it passes an :func:`issubclass`
check against :data:`Callable`. However, the
- :meth:`ssl.SSLObject.__init__` method exists only to raise a
+ ``ssl.SSLObject.__init__`` method exists only to raise a
:exc:`TypeError` with a more informative message, therefore making
it impossible to call (instantiate) :class:`ssl.SSLObject`.
More information about the Python-checkins
mailing list