Merge from 3.6.

This commit is contained in:
Serhiy Storchaka 2016-12-07 13:32:09 +02:00
commit d7d266c113
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ class OpenWrapper:
try:
UnsupportedOperation = io.UnsupportedOperation
except AttributeError:
class UnsupportedOperation(ValueError, OSError):
class UnsupportedOperation(OSError, ValueError):
pass