Skip to content

Commit

Permalink
pythongh-101100: Fix sphinx warnings in typing module docs (pythonG…
Browse files Browse the repository at this point in the history
…H-102260)

(cherry picked from commit a498de4)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
sobolevn authored and miss-islington committed Feb 25, 2023
1 parent 3fe7419 commit a89f24d
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 a89f24d

Please sign in to comment.