mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add winerror to WindowsError in builtins.pyi for Python 2.7 and 3 (#470)
Adds the int type member to WindowsError stub
This commit is contained in:
committed by
Matthias Kramm
parent
69fdea09c9
commit
219c57a28c
@@ -835,7 +835,8 @@ class MemoryError(StandardError): ...
|
||||
class NameError(StandardError): ...
|
||||
class NotImplementedError(RuntimeError): ...
|
||||
class OSError(EnvironmentError): ...
|
||||
class WindowsError(OSError): ...
|
||||
class WindowsError(OSError):
|
||||
winerror = ... # type: int
|
||||
class OverflowError(ArithmeticError): ...
|
||||
class ReferenceError(StandardError): ...
|
||||
class SyntaxError(StandardError):
|
||||
|
||||
@@ -799,7 +799,8 @@ class NotADirectoryError(OSError): ...
|
||||
class PermissionError(OSError): ...
|
||||
class ProcessLookupError(OSError): ...
|
||||
class TimeoutError(OSError): ...
|
||||
class WindowsError(OSError): ...
|
||||
class WindowsError(OSError):
|
||||
winerror = ... # type: int
|
||||
class OverflowError(ArithmeticError): ...
|
||||
class ReferenceError(Exception): ...
|
||||
class StopIteration(Exception):
|
||||
|
||||
Reference in New Issue
Block a user