diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-02 12:10:23 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-02 12:10:23 (GMT) |
commit | d65c9496da3485ac077fa8fd374b061afdd3605e (patch) | |
tree | 70d446dd505e744bcdf7638e6dc31fde8d4d9310 /Doc/library/socket.rst | |
parent | 7462b64911f1e2df2de2285ddbf8b156b5cdc418 (diff) | |
download | cpython-d65c9496da3485ac077fa8fd374b061afdd3605e.zip cpython-d65c9496da3485ac077fa8fd374b061afdd3605e.tar.gz cpython-d65c9496da3485ac077fa8fd374b061afdd3605e.tar.bz2 |
Issue #25523: Further a-to-an corrections.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r-- | Doc/library/socket.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 80d5811..8577c3c 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -762,7 +762,7 @@ The :mod:`socket` module also offers various network-related services: .. function:: sethostname(name) - Set the machine's hostname to *name*. This will raise a + Set the machine's hostname to *name*. This will raise an :exc:`OSError` if you don't have enough rights. Availability: Unix. @@ -794,7 +794,7 @@ The :mod:`socket` module also offers various network-related services: .. function:: if_indextoname(if_index) - Return a network interface name corresponding to a + Return a network interface name corresponding to an interface index number. :exc:`OSError` if no interface with the given index exists. |