Skip to content

Commit 86e7416

Browse files
authored
Fix DatagramRequestHandler.packet type hint. (#12563)
1 parent fa3ab94 commit 86e7416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/socketserver.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class StreamRequestHandler(BaseRequestHandler):
162162
wfile: BinaryIO
163163

164164
class DatagramRequestHandler(BaseRequestHandler):
165-
packet: _socket # undocumented
165+
packet: bytes # undocumented
166166
socket: _socket # undocumented
167167
rfile: BinaryIO
168168
wfile: BinaryIO

0 commit comments

Comments
 (0)