Skip to content

Commit

Permalink
Mark OSError.strerror as sometimes None (#12974)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert authored Nov 7, 2024
1 parent 502e168 commit dafd67c
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 @@ -1917,7 +1917,7 @@ class StopIteration(Exception):

class OSError(Exception):
errno: int | None
strerror: str
strerror: str | None
# filename, filename2 are actually str | bytes | None
filename: Any
filename2: Any
Expand Down

0 comments on commit dafd67c

Please sign in to comment.