Fix remove_child_handler() return type (#3841)

This commit is contained in:
Andrew Svetlov
2020-03-11 15:50:06 +02:00
committed by GitHub
parent 5162c536c8
commit 52d3b9eaba

View File

@@ -11,7 +11,7 @@ _T3 = TypeVar('_T3', bound=FastChildWatcher)
class AbstractChildWatcher:
def add_child_handler(self, pid: int, callback: Callable[..., Any], *args: Any) -> None: ...
def remove_child_handler(self, pid: int) -> None: ...
def remove_child_handler(self, pid: int) -> bool: ...
def attach_loop(self, loop: Optional[AbstractEventLoop]) -> None: ...
def close(self) -> None: ...
def __enter__(self: _T1) -> _T1: ...