[stdlib] Fix a few literal values (#15589)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2026-04-01 15:17:41 +02:00
1 parent 9553477993
commit 08628cee95
4 files changed
+16 -13

No files matched your search

+4 -1
View File
@@ -614,9 +614,12 @@ if sys.platform == "darwin" and sys.version_info >= (3, 12):
SEEK_SET: Final = 0
SEEK_CUR: Final = 1
SEEK_END: Final = 2
if sys.platform != "win32":
if sys.platform == "linux":
SEEK_DATA: Final = 3
SEEK_HOLE: Final = 4
elif sys.platform == "darwin":
SEEK_HOLE: Final = 3
SEEK_DATA: Final = 4
O_RDONLY: Final[int]
O_WRONLY: Final[int]