Use OSError instead of IOError (#9683)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2023-02-06 18:56:32 +00:00
1 parent c96079f0df
commit f7cb7f33b2
6 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -14,8 +14,8 @@ from docutils import TransformSpec
__docformat__: str
class InputError(IOError): ...
class OutputError(IOError): ...
class InputError(OSError): ...
class OutputError(OSError): ...
def check_encoding(stream: Any, encoding: str) -> bool | None: ...
def error_string(err: BaseException) -> str: ...