Skip to content

Commit 62ddebb

Browse files
fcntl: fix fcntl arg type (s#) (#9052)
1 parent 4d40fc6 commit 62ddebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/fcntl.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if sys.platform != "win32":
103103
@overload
104104
def fcntl(__fd: FileDescriptorLike, __cmd: int, __arg: int = ...) -> int: ...
105105
@overload
106-
def fcntl(__fd: FileDescriptorLike, __cmd: int, __arg: bytes) -> bytes: ...
106+
def fcntl(__fd: FileDescriptorLike, __cmd: int, __arg: str | ReadOnlyBuffer) -> bytes: ...
107107
@overload
108108
def ioctl(__fd: FileDescriptorLike, __request: int, __arg: int = ..., __mutate_flag: bool = ...) -> int: ...
109109
@overload

0 commit comments

Comments
 (0)