Skip to content

Commit

Permalink
gh-101100: Fix sphinx warnings in typing module docs (#102260)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 25, 2023
1 parent 4197043 commit a498de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit a498de4

Please sign in to comment.