Skip to content

Commit d22a2cd

Browse files
gh-101100: Fix sphinx warnings in typing module docs (GH-102260)
(cherry picked from commit a498de4) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent f894995 commit d22a2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ These are not used in annotations. They are building blocks for creating generic
13561356
methods, not their type signatures. For example, :class:`ssl.SSLObject`
13571357
is a class, therefore it passes an :func:`issubclass`
13581358
check against :data:`Callable`. However, the
1359-
:meth:`ssl.SSLObject.__init__` method exists only to raise a
1359+
``ssl.SSLObject.__init__`` method exists only to raise a
13601360
:exc:`TypeError` with a more informative message, therefore making
13611361
it impossible to call (instantiate) :class:`ssl.SSLObject`.
13621362

0 commit comments

Comments
 (0)