diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2021-05-21 13:54:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-21 13:54:01 -0400 |
| commit | 2f47d8dcc735234bf9c7f92fbdacd8c5a6ee7761 (patch) | |
| tree | b56c3722deb6d274d7981e060caa75c56e8a415e /Doc/tutorial/errors.rst | |
| parent | c878a9796841c1f4726e6dd5ac49a478af4c8504 (diff) | |
| download | cpython-git-2f47d8dcc735234bf9c7f92fbdacd8c5a6ee7761.tar.gz | |
bpo-43927: Change 'IOError' to 'OSError' (GH-26289)
This is the last remaining instance, at least for this chapter, in 3.10 & 3.11.
Diffstat (limited to 'Doc/tutorial/errors.rst')
| -rw-r--r-- | Doc/tutorial/errors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index cd5fc878f9..27e39dfe25 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -305,7 +305,7 @@ disabled by using ``from None`` idiom: >>> try: ... open('database.sqlite') - ... except IOError: + ... except OSError: ... raise RuntimeError from None ... Traceback (most recent call last): |
