summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-06-02 07:39:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-06-02 07:39:26 (GMT)
commitd57b5543e42675f1d4c30326049de4f4fdf4ffc8 (patch)
treee9c3ac4a7aa690678e5ebd3d39ca889cee15bf0c
parent61e7fbf2c151373e33e3d3e3eb8dc4164cf28f9f (diff)
downloadcpython-d57b5543e42675f1d4c30326049de4f4fdf4ffc8.zip
cpython-d57b5543e42675f1d4c30326049de4f4fdf4ffc8.tar.gz
cpython-d57b5543e42675f1d4c30326049de4f4fdf4ffc8.tar.bz2
Typo in socket.py. Thanks Pablo Torres Navarrete.
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 5637fed..e694587 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -16,7 +16,7 @@ gethostname() -- return the current hostname
gethostbyname() -- map a hostname to its IP number
gethostbyaddr() -- map an IP number or hostname to DNS info
getservbyname() -- map a service name and a protocol name to a port number
-getprotobyname() -- mape a protocol name (e.g. 'tcp') to a number
+getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
htons(), htonl() -- convert 16, 32 bit int from host to network byte order
inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed format