Update fcntl to python 3.12 (#10774)

This commit is contained in:
Nikita Sobolev
2023-09-25 20:38:48 +03:00
committed by GitHub
parent 9e79a100b3
commit df2efe6102
2 changed files with 5 additions and 2 deletions

View File

@@ -101,6 +101,11 @@ if sys.platform != "win32":
I_STR: int
I_SWROPT: int
I_UNLINK: int
if sys.version_info >= (3, 12) and sys.platform == "linux":
FICLONE: int
FICLONERANGE: int
@overload
def fcntl(__fd: FileDescriptorLike, __cmd: int, __arg: int = 0) -> int: ...
@overload