openhook is callable

This commit is contained in:
Julien Hebert
2016-03-20 14:10:33 +01:00
parent d1baa1deaa
commit 703b88b0c0

View File

@@ -7,7 +7,7 @@ def input(
backup: str=...,
bufsize: int=...,
mode: str=...,
openhook=None
openhook: Callable[[str, str], BinaryIO]=...
): ...
@@ -26,7 +26,7 @@ class FileInput(Iterable):
backup: str=...,
bufsize: int=...,
mode: str=...,
openhook=None
openhook: Callable[[str, str], BinaryIO]=...
) -> None: ...
def __del__(self) -> None: ...