mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
OSError.errno can be None (#12910)
This commit is contained in:
@@ -1916,7 +1916,7 @@ class StopIteration(Exception):
|
||||
value: Any
|
||||
|
||||
class OSError(Exception):
|
||||
errno: int
|
||||
errno: int | None
|
||||
strerror: str
|
||||
# filename, filename2 are actually str | bytes | None
|
||||
filename: Any
|
||||
|
||||
Reference in New Issue
Block a user