mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add socketserver.UDPServer.max_packet_size (#6433)
It looks like an int in the source code: 8d1a580064/Lib/socketserver.py (L524).
Stubtest flagged it as being missing in all supported Python versions, on all platforms: https://github.com/python/typeshed/pull/6403/files
This commit is contained in:
@@ -55,6 +55,7 @@ class TCPServer(BaseServer):
|
||||
def close_request(self, request: _RequestType) -> None: ... # undocumented
|
||||
|
||||
class UDPServer(BaseServer):
|
||||
max_packet_size: ClassVar[int]
|
||||
def __init__(
|
||||
self,
|
||||
server_address: tuple[str, int],
|
||||
|
||||
Reference in New Issue
Block a user