From 009b269882b6b7befdf3ee5ad9f35caf550219ff Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 24 Mar 2020 15:54:59 +0100 Subject: [PATCH] fcntl: make mutate_flag optional for ioctl w/ read-only buffer (#3882) Fixes #3881 --- stdlib/3/fcntl.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/fcntl.pyi b/stdlib/3/fcntl.pyi index b9df14753..735deeaad 100644 --- a/stdlib/3/fcntl.pyi +++ b/stdlib/3/fcntl.pyi @@ -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,