PEP 678: minor grammar fix (#2468)
This commit is contained in:
parent
f3aad219e9
commit
233b005cc0
|
@ -157,8 +157,8 @@ its notes (if there are any) appear immediately after the exception message, in
|
||||||
in which they were added, with each note starting on a new line.
|
in which they were added, with each note starting on a new line.
|
||||||
|
|
||||||
If ``__notes__`` has been created, ``BaseExceptionGroup.subgroup`` and
|
If ``__notes__`` has been created, ``BaseExceptionGroup.subgroup`` and
|
||||||
``BaseExceptionGroup.split`` create new lists on each new instance containing
|
``BaseExceptionGroup.split`` create a new list for each new instance, containing
|
||||||
the same contents as the original exception group.
|
the same contents as the original exception group's ``__notes__``.
|
||||||
|
|
||||||
We *do not* specify the expected behaviour when users have assigned a non-list
|
We *do not* specify the expected behaviour when users have assigned a non-list
|
||||||
value to ``__notes__``, or a list which contains non-string elements.
|
value to ``__notes__``, or a list which contains non-string elements.
|
||||||
|
|
Loading…
Reference in New Issue