We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 026c06e commit 99ae59fCopy full SHA for 99ae59f
1 file changed
pynvim/msgpack_rpc/event_loop/asyncio.py
@@ -203,12 +203,9 @@ async def connect_stdout():
203
@override
204
def _connect_child(self, argv: List[str]) -> None:
205
def get_child_watcher():
206
- try:
207
- return asyncio.get_child_watcher()
208
- except AttributeError: # Python 3.14
+ if sys.version_info >= (3, 12):
209
return None
210
-
211
- return None
+ return asyncio.get_child_watcher()
212
213
if os.name != 'nt':
214
# see #238, #241
0 commit comments