diff --git a/stdlib/3/io.pyi b/stdlib/3/io.pyi index d3cc6948b..ee595f3f6 100644 --- a/stdlib/3/io.pyi +++ b/stdlib/3/io.pyi @@ -66,7 +66,7 @@ class FileIO(RawIOBase): name: Union[int, str] def __init__( self, - name: Union[str, bytes, int], + file: Union[str, bytes, int], mode: str = ..., closefd: bool = ..., opener: Optional[Callable[[Union[int, str], str], int]] = ...