mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
openhook is callable
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user