mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
This commit is contained in:
parent
5adfac2c1b
commit
606ab86c0e
2 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ class OpenWrapper:
|
|||
try:
|
||||
UnsupportedOperation = io.UnsupportedOperation
|
||||
except AttributeError:
|
||||
class UnsupportedOperation(ValueError, OSError):
|
||||
class UnsupportedOperation(OSError, ValueError):
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue