Skip to content

Commit 6fe6597

Browse files
authored
[gunicorn] Add BaseSocket.sock (#14946)
1 parent 947ec49 commit 6fe6597

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stubs/gunicorn/gunicorn/sock.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ from gunicorn.glogging import Logger as GLogger
99
from .config import Config
1010

1111
class BaseSocket:
12+
sock: socket.socket
13+
1214
def __init__(self, address: str, conf: Config, log: GLogger, fd: SupportsIndex | None = None) -> None: ...
1315
def __getattr__(self, name: str) -> Any: ...
1416
def set_options(self, sock: socket.socket, bound: bool = False) -> socket.socket: ...

0 commit comments

Comments
 (0)