PEP 654: fix typos (#1853)

This commit is contained in:
Dave Brondsema 2021-03-01 15:54:10 -05:00 committed by GitHub
parent 53aef125a4
commit f69d426700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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: