mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-18 09:05:07 +08:00
Use OSError instead of IOError (#9683)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user