[Python-checkins] gh-101100: Fix sphinx warnings in `typing` module docs (#102260)

AlexWaygood webhook-mailer at python.org
Sat Feb 25 16:48:07 EST 2023


https://github.com/python/cpython/commit/a498de4c0ef9e264cab3320afbc4d38df6394800
commit: a498de4c0ef9e264cab3320afbc4d38df6394800
branch: main
author: Nikita Sobolev <mail at sobolevn.me>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2023-02-25T21:48:00Z
summary:

gh-101100: Fix sphinx warnings in `typing` module docs (#102260)

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 169f7196a74e..bbbf6920ddec 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