commit | 606ab86c0e11eb00fc276c694bff9d7f9239d538 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Dec 07 13:31:20 2016 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Dec 07 13:31:20 2016 +0200 |
tree | cf5d3b34fcee94d247e8d3e53ac2bbe5517a3882 | |
parent | 5adfac2c1b7fb4f0782d097e7e0e6c5614965634 [diff] [blame] |
Change order of io.UnsupportedOperation base classes. This makes tests passing after changes by issue #5322.
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 @@ try: UnsupportedOperation = io.UnsupportedOperation except AttributeError: - class UnsupportedOperation(ValueError, OSError): + class UnsupportedOperation(OSError, ValueError): pass