From 785d7838e1813767a1779a8a14105666a3d7add3 Mon Sep 17 00:00:00 2001 From: Vasily Zakharov Date: Mon, 30 Sep 2019 21:51:11 +0300 Subject: [PATCH] Added stub for asyncore.socket_map, undocumented but useful (#3284) --- stdlib/2and3/asyncore.pyi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stdlib/2and3/asyncore.pyi b/stdlib/2and3/asyncore.pyi index a7fb59c84..9d0a2c60e 100644 --- a/stdlib/2and3/asyncore.pyi +++ b/stdlib/2and3/asyncore.pyi @@ -13,8 +13,9 @@ from errno import (EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, EPIPE, EAGAIN, errorcode) # cyclic dependence with asynchat -_maptype = Dict[str, Any] +_maptype = Dict[int, Any] +socket_map: _maptype = ... # Undocumented class ExitNow(Exception): ...