@@ -96,6 +96,7 @@ if sys.platform != "win32":
9696 def __exit__ (self , a : type [BaseException ] | None , b : BaseException | None , c : types .TracebackType | None ) -> None : ...
9797 def add_child_handler (self , pid : int , callback : Callable [[Unpack [_Ts ]], object ], * args : Unpack [_Ts ]) -> None : ...
9898 def remove_child_handler (self , pid : int ) -> bool : ...
99+
99100 else :
100101 class SafeChildWatcher (BaseChildWatcher ):
101102 def __enter__ (self ) -> Self : ...
@@ -120,6 +121,7 @@ if sys.platform != "win32":
120121 else :
121122 def get_child_watcher (self ) -> AbstractChildWatcher : ...
122123 def set_child_watcher (self , watcher : AbstractChildWatcher | None ) -> None : ...
124+
123125 SelectorEventLoop = _UnixSelectorEventLoop
124126
125127 DefaultEventLoopPolicy = _UnixDefaultEventLoopPolicy
@@ -136,6 +138,7 @@ if sys.platform != "win32":
136138 def add_child_handler (self , pid : int , callback : Callable [[Unpack [_Ts ]], object ], * args : Unpack [_Ts ]) -> None : ...
137139 def remove_child_handler (self , pid : int ) -> bool : ...
138140 def attach_loop (self , loop : AbstractEventLoop | None ) -> None : ...
141+
139142 else :
140143 class MultiLoopChildWatcher (AbstractChildWatcher ):
141144 def is_active (self ) -> bool : ...
0 commit comments