]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix sphinx warnings in `typing` module docs (GH-102260)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Feb 2023 21:54:31 +0000 (13:54 -0800)
committerGitHub <noreply@github.com>
Sat, 25 Feb 2023 21:54:31 +0000 (13:54 -0800)
(cherry picked from commit a498de4c0ef9e264cab3320afbc4d38df6394800)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Doc/library/typing.rst

index 276133653376f4b70f5268c288a8eecae72de23c..5deaa7adbe1e80ace6e628cebd676f07e4754eb7 100644 (file)
@@ -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`.