Fixes
This commit is contained in:
parent
dd3aa2ceb8
commit
721a2025de
|
@ -29,8 +29,8 @@ the default handling of other ArithmeticErrors (such as OverflowErrors).
|
|||
|
||||
This PEP proposes changes to a part of the exception hierarchy in
|
||||
order to better embody the qualities mentioned above: the errors
|
||||
related to operating system calls (OSError, IOError, select.error, and
|
||||
all their subclasses).
|
||||
related to operating system calls (OSError, IOError, mmap.error,
|
||||
select.error, and all their subclasses).
|
||||
|
||||
|
||||
Rationale
|
||||
|
@ -339,7 +339,7 @@ the list of errnos mapped to them, is submitted to discussion:
|
|||
|
||||
This list assumes `Step 1`_ is accepted in full; the exception classes
|
||||
described above would all derive from the now unified exception type
|
||||
OSError. It will need reworking if a partial version of step 1 is accepted
|
||||
IOError. It will need reworking if a partial version of step 1 is accepted
|
||||
instead (again, see appendix A for the current distribution of errnos
|
||||
and exception types).
|
||||
|
||||
|
|
Loading…
Reference in New Issue