Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
Fixed cjrh#9 by changing the README file under Dealing with errors and cancellation from:
the ``fetch()`` function, we're handling ``Exeption``, which
to:
the ``fetch()`` function, we're handling ``BaseExeption``, which
  • Loading branch information
ALkonrad authored Aug 20, 2022
1 parent 4f67eea commit 8e2e1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Generally, there are these kinds of error situations:
executor must NOT be shut down

Consider the previous example using aiohttp to fetch URLs: inside
the ``fetch()`` function, we're handling ``Exception``, which
the ``fetch()`` function, we're handling ``BaseExeption``, which
includes ``asyncio.CancelledError``. In general, this is the
correct thing to do because you can control what happens in
each of the scenarios presented above. But what happens
Expand Down

0 comments on commit 8e2e1b6

Please sign in to comment.