Skip to content

Commit a498de4

Browse files
authored
gh-101100: Fix sphinx warnings in typing module docs (#102260)
1 parent 4197043 commit a498de4

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
@@ -1588,7 +1588,7 @@ These are not used in annotations. They are building blocks for creating generic
15881588
methods, not their type signatures. For example, :class:`ssl.SSLObject`
15891589
is a class, therefore it passes an :func:`issubclass`
15901590
check against :data:`Callable`. However, the
1591-
:meth:`ssl.SSLObject.__init__` method exists only to raise a
1591+
``ssl.SSLObject.__init__`` method exists only to raise a
15921592
:exc:`TypeError` with a more informative message, therefore making
15931593
it impossible to call (instantiate) :class:`ssl.SSLObject`.
15941594

0 commit comments

Comments
 (0)