summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-25 21:54:31 (GMT)
committerGitHub <noreply@github.com>2023-02-25 21:54:31 (GMT)
commitd22a2cd422bde897531a50ce5bb9cfaf7a3bfc4e (patch)
tree6cdfd96f92719538f016bebbd83704c78fc7ed0b
parentf894995eb606a2cf831be56383720adc23ebcb80 (diff)
downloadcpython-d22a2cd422bde897531a50ce5bb9cfaf7a3bfc4e.zip
cpython-d22a2cd422bde897531a50ce5bb9cfaf7a3bfc4e.tar.gz
cpython-d22a2cd422bde897531a50ce5bb9cfaf7a3bfc4e.tar.bz2
gh-101100: Fix sphinx warnings in `typing` module docs (GH-102260)
(cherry picked from commit a498de4c0ef9e264cab3320afbc4d38df6394800) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 2761336..5deaa7a 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -1356,7 +1356,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`.