Skip to content

Commit

Permalink
OSError.errno can be None (#12910)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Oct 27, 2024
1 parent 61ba4de commit 601ce5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 601ce5a

Please sign in to comment.