fix incorrect param name in FileIO (#3484)

This commit is contained in:
cshesse
2019-11-23 15:08:53 -08:00
committed by Sebastian Rittau
parent c0d46a2035
commit 91f445ef11

View File

@@ -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]] = ...