mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
[3.12] gh-101100: Fix various Sphinx warnings for dunder references in the library/
directory (GH-113163) (#113183)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
e3396b2995
commit
00324a77da
8 changed files with 34 additions and 24 deletions
|
@ -1005,9 +1005,9 @@ their subgroups based on the types of the contained exceptions.
|
|||
True
|
||||
|
||||
|
||||
Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so
|
||||
Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so
|
||||
subclasses that need a different constructor signature need to
|
||||
override that rather than :meth:`__init__`. For example, the following
|
||||
override that rather than :meth:`~object.__init__`. For example, the following
|
||||
defines an exception group subclass which accepts an exit_code and
|
||||
and constructs the group's message from it. ::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue