From 86e74163b9f4ddf2b36e8cac05da11d063ea636b Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 21 Aug 2024 06:53:49 -0400 Subject: [PATCH] Fix DatagramRequestHandler.packet type hint. (#12563) --- stdlib/socketserver.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/socketserver.pyi b/stdlib/socketserver.pyi index 5753d1d661b9..acf246108839 100644 --- a/stdlib/socketserver.pyi +++ b/stdlib/socketserver.pyi @@ -162,7 +162,7 @@ class StreamRequestHandler(BaseRequestHandler): wfile: BinaryIO class DatagramRequestHandler(BaseRequestHandler): - packet: _socket # undocumented + packet: bytes # undocumented socket: _socket # undocumented rfile: BinaryIO wfile: BinaryIO