mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
[3.11] Add IPv6 into to the docstring for socket.getsockname (GH-102961) (#103137)
Add IPv6 into to the docstring for socket.getsockname (GH-102961)
(cherry picked from commit ecc5441505
)
Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
Co-authored-by: Brian Haley <brianphaley@gmail.com>
This commit is contained in:
parent
d691de1d2d
commit
1692a16a25
1 changed files with 2 additions and 1 deletions
|
@ -3411,7 +3411,8 @@ PyDoc_STRVAR(getsockname_doc,
|
|||
\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\
|
||||
(hostaddr, port).");
|
||||
(hostaddr, port). For IPv6 sockets, the address info is a 4-tuple\n\
|
||||
(hostaddr, port, flowinfo, scope_id).");
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue