mirror of
https://github.com/python/cpython.git
synced 2025-10-02 05:12:23 +00:00
gh-101100: Fix sphinx warnings in typing
module docs (GH-102260)
(cherry picked from commit a498de4c0e
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
3fe74199fd
commit
c2f42f1778
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue