mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
fcntl: make mutate_flag optional for ioctl w/ read-only buffer (#3882)
Fixes #3881
This commit is contained in:
committed by
GitHub
parent
e571d1a2c2
commit
009b269882
@@ -111,7 +111,7 @@ def ioctl(__fd: FileDescriptorLike,
|
||||
def ioctl(__fd: FileDescriptorLike,
|
||||
__request: int,
|
||||
__arg: _ReadOnlyBuffer,
|
||||
__mutate_flag: bool) -> bytes: ...
|
||||
__mutate_flag: bool = ...) -> bytes: ...
|
||||
def flock(__fd: FileDescriptorLike, __operation: int) -> None: ...
|
||||
def lockf(__fd: FileDescriptorLike,
|
||||
__cmd: int,
|
||||
|
||||
Reference in New Issue
Block a user