diff options
author | Gregory P. Smith <greg@krypto.org> | 2011-05-23 05:47:55 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2011-05-23 05:47:55 (GMT) |
commit | b6471db8a76416b2eb49fe9b02c6f9f9a6502b4d (patch) | |
tree | 7118828beac9b9420395c42c81dba39c9b735863 /Doc/library | |
parent | a454ef6985494ad894c5ec7ebe0ea4c824fc926d (diff) | |
download | cpython-b6471db8a76416b2eb49fe9b02c6f9f9a6502b4d.zip cpython-b6471db8a76416b2eb49fe9b02c6f9f9a6502b4d.tar.gz cpython-b6471db8a76416b2eb49fe9b02c6f9f9a6502b4d.tar.bz2 |
Further documentation updates to be consistent with doc standards and comments
Ezio Melotti pointed out.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/socket.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 7ce7705..afc674c 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -538,9 +538,9 @@ The module :mod:`socket` exports the following constants and functions: .. function:: if_nameindex() - Returns a list of network interface information - (index, name as a string) tuples. - :exc:`socket.error` if the system call fails for any reason. + Return a list of network interface information + (index int, name string) tuples. + :exc:`socket.error` if the system call fails. Availability: Unix. @@ -549,8 +549,8 @@ The module :mod:`socket` exports the following constants and functions: .. function:: if_nametoindex(if_name) - Returns a network interface index number corresponding to an - interface name string. + Return a network interface index number corresponding to an + interface name. :exc:`socket.error` if no interface with the given name exists. Availability: Unix. @@ -560,8 +560,8 @@ The module :mod:`socket` exports the following constants and functions: .. function:: if_indextoname(if_index) - Returns a network interface name string corresponding to a - interface index. + Return a network interface name corresponding to a + interface index number. :exc:`socket.error` if no interface with the given index exists. Availability: Unix. |