From f69d42670045e22524fa75c39b58624f18fd3f9f Mon Sep 17 00:00:00 2001 From: Dave Brondsema Date: Mon, 1 Mar 2021 15:54:10 -0500 Subject: [PATCH] PEP 654: fix typos (#1853) --- pep-0654.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0654.rst b/pep-0654.rst index a5d1f550e..aa91d70e4 100644 --- a/pep-0654.rst +++ b/pep-0654.rst @@ -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: