diff --git a/stdlib/2/_io.pyi b/stdlib/2/_io.pyi index 0a0b6d0fc..3f1baab15 100644 --- a/stdlib/2/_io.pyi +++ b/stdlib/2/_io.pyi @@ -92,7 +92,7 @@ class _RawIOBase(_IOBase): class FileIO(_RawIOBase, BytesIO): # type: ignore # for __enter__ mode = ... # type: str closefd = ... # type: bool - def __init__(self, file: str, mode: str = ...) -> None: ... + def __init__(self, file: str, mode: str = ..., closefd: bool = ...) -> None: ... def readinto(self, buffer: bytearray)-> int: ... def write(self, pbuf: str) -> int: ...