mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Fix remove_child_handler() return type (#3841)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user