mirror of https://github.com/python/cpython
Add IPv6 into to the docstring for socket.getsockname (#102961)
Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
This commit is contained in:
parent
f192a558f5
commit
ecc5441505
|
@ -3538,7 +3538,8 @@ PyDoc_STRVAR(getsockname_doc,
|
||||||
\n\
|
\n\
|
||||||
Return the address of the local endpoint. The format depends on the\n\
|
Return the address of the local endpoint. The format depends on the\n\
|
||||||
address family. For IPv4 sockets, the address info is a pair\n\
|
address family. For IPv4 sockets, the address info is a pair\n\
|
||||||
(hostaddr, port).");
|
(hostaddr, port). For IPv6 sockets, the address info is a 4-tuple\n\
|
||||||
|
(hostaddr, port, flowinfo, scope_id).");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue