Skip to content

Commit 0964540

Browse files
kmvanbruntmax-muoto
authored andcommitted
Fix DatagramRequestHandler.packet type hint. (python#12563)
1 parent c1dede6 commit 0964540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/socketserver.pyi

Lines changed: 1 addition & 1 deletion
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)