mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Update fcntl to python 3.12 (#10774)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user