]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix sphinx warnings in `typing` module docs (#102260)
authorNikita Sobolev <mail@sobolevn.me>
Sat, 25 Feb 2023 21:48:00 +0000 (00:48 +0300)
committerGitHub <noreply@github.com>
Sat, 25 Feb 2023 21:48:00 +0000 (21:48 +0000)
Doc/library/typing.rst

index 169f7196a74ec69443767c05bdfc3776682e0dd5..bbbf6920ddec881b177ffc76c10127fd45be9fd6 100644 (file)
@@ -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`.