diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-07 11:31:20 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-07 11:31:20 (GMT) |
commit | 606ab86c0e11eb00fc276c694bff9d7f9239d538 (patch) | |
tree | cf5d3b34fcee94d247e8d3e53ac2bbe5517a3882 /Lib/_pyio.py | |
parent | 5adfac2c1b7fb4f0782d097e7e0e6c5614965634 (diff) | |
download | cpython-606ab86c0e11eb00fc276c694bff9d7f9239d538.zip cpython-606ab86c0e11eb00fc276c694bff9d7f9239d538.tar.gz cpython-606ab86c0e11eb00fc276c694bff9d7f9239d538.tar.bz2 |
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r-- | Lib/_pyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 0d98b74..f2fe447 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -276,7 +276,7 @@ class OpenWrapper: try: UnsupportedOperation = io.UnsupportedOperation except AttributeError: - class UnsupportedOperation(ValueError, OSError): + class UnsupportedOperation(OSError, ValueError): pass |