]> granicus.if.org Git - python/commitdiff
Typo in socket.py. Thanks Pablo Torres Navarrete.
authorMark Dickinson <dickinsm@gmail.com>
Tue, 2 Jun 2009 07:39:26 +0000 (07:39 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 2 Jun 2009 07:39:26 +0000 (07:39 +0000)
Lib/socket.py

index 5637fed21c1d3356cb72b398ea8021502de47b93..e694587ea8ed81d36053df7c89a9385408bf46c6 100644 (file)
@@ -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