mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
socket: sendmsg can accept None for the address (#8771)
Per the Python docs and socketmodule.c source, the address argument can be None. https://docs.python.org/3/library/socket.html#socket.socket.sendmsg
This commit is contained in:
@@ -624,7 +624,7 @@ class socket:
|
||||
__buffers: Iterable[ReadableBuffer],
|
||||
__ancdata: Iterable[_CMSGArg] = ...,
|
||||
__flags: int = ...,
|
||||
__address: _Address = ...,
|
||||
__address: _Address | None = ...,
|
||||
) -> int: ...
|
||||
if sys.platform == "linux":
|
||||
def sendmsg_afalg(
|
||||
|
||||
Reference in New Issue
Block a user