mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Fix some problems introduced by recent commits. (#1905)
This commit is contained in:
committed by
Jelle Zijlstra
parent
d3a9650fa1
commit
7ae2f25216
@@ -947,11 +947,10 @@ class OSError(Exception):
|
||||
filename = ... # type: Any
|
||||
if sys.version_info >= (3, 4):
|
||||
filename2 = ... # type: Any
|
||||
if sys.platform == 'win32':
|
||||
winerror = 0
|
||||
IOError = OSError
|
||||
EnvironmentError = OSError
|
||||
WindowsError = OSError
|
||||
class WindowsError(OSError):
|
||||
winerror = ... # type: int
|
||||
class LookupError(Exception): ...
|
||||
class RuntimeError(Exception): ...
|
||||
class ValueError(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user