diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-02-25 21:48:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 21:48:00 (GMT) |
commit | a498de4c0ef9e264cab3320afbc4d38df6394800 (patch) | |
tree | 8b32b79538f90f8e7be8d5f8f1730b16252c404a /Doc | |
parent | 41970436373f4be813fe8f5a07b6da04d5f4c80e (diff) | |
download | cpython-a498de4c0ef9e264cab3320afbc4d38df6394800.zip cpython-a498de4c0ef9e264cab3320afbc4d38df6394800.tar.gz cpython-a498de4c0ef9e264cab3320afbc4d38df6394800.tar.bz2 |
gh-101100: Fix sphinx warnings in `typing` module docs (#102260)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 169f719..bbbf692 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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`. |