mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-25 00:13:00 +08:00
da43a231bb
* Add missing kwargs for create_server and create_datagram_endpoint Looks like `create_server` and `create_datagram_endpoint` have supported `reuse_port`, `reuse_address`, and `sock` since 3.4. https://docs.python.org/3.4/library/asyncio-eventloop.html https://github.com/python/cpython/blob/ee51327a2329eb9c2bfbb6ea673cfab4299450b0/Lib/asyncio/events.py * Fixes to create_server, create_datagram_endpoing - Add allow sequence for `hosts` in `create_server` - Add `allow_broadcast` to `create_datagram_endpoint` - Reorder `sock` in `create_datagram_endpoint` * Import Sequence * Sockets are Optionals