Skip to content

Commit 009b269

Browse files
authored
fcntl: make mutate_flag optional for ioctl w/ read-only buffer (#3882)
Fixes #3881
1 parent e571d1a commit 009b269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/fcntl.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def ioctl(__fd: FileDescriptorLike,
111111
def ioctl(__fd: FileDescriptorLike,
112112
__request: int,
113113
__arg: _ReadOnlyBuffer,
114-
__mutate_flag: bool) -> bytes: ...
114+
__mutate_flag: bool = ...) -> bytes: ...
115115
def flock(__fd: FileDescriptorLike, __operation: int) -> None: ...
116116
def lockf(__fd: FileDescriptorLike,
117117
__cmd: int,

0 commit comments

Comments
 (0)