PEP 654: fix typos (#1853)
This commit is contained in:
parent
53aef125a4
commit
f69d426700
|
@ -343,9 +343,9 @@ before it was grouped with other exceptions into the ``ExceptionGroup`` [10]_.
|
|||
Furthermore, the application is likely to react in the same way to any number
|
||||
of instances of a certain exception type, so it is more likely that we will
|
||||
want to know whether ``eg.subgroup(T)`` is None or not, than we are to be
|
||||
intersted in the number of ``Ts`` in ``eg``.
|
||||
interested in the number of ``Ts`` in ``eg``.
|
||||
|
||||
If it does turn out to be necessary for an applicaiton to iterate over the
|
||||
If it does turn out to be necessary for an application to iterate over the
|
||||
individual exceptions of an ``ExceptionGroup`` ``eg``, this can be done by
|
||||
calling ``traverse(eg)``, where ``traverse`` is defined as follows:
|
||||
|
||||
|
|
Loading…
Reference in New Issue