diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-02 12:39:05 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-02 12:39:05 (GMT) |
commit | a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030 (patch) | |
tree | e8ac219e151be6bdf4ea4e3fbc229f247e0b7b4b /Doc/library/socket.rst | |
parent | d2ad5718ad955a13cf570bacad1d7800d995da33 (diff) | |
parent | d65c9496da3485ac077fa8fd374b061afdd3605e (diff) | |
download | cpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.zip cpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.tar.gz cpython-a84f6c3dd3ef02bdbbc67b4cd1223749f3c39030.tar.bz2 |
Issue #25523: Merge a-to-an corrections from 3.4.
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 2579b0b..a081756 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -786,7 +786,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. @@ -818,7 +818,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. |