[New-bugs-announce] [issue6173] Minor typo in socket.py

Pablo Torres Navarrete report at bugs.python.org
Tue Jun 2 07:51:32 CEST 2009


New submission from Pablo Torres Navarrete <tn.pablo at gmail.com>:

Index: socket.py
===================================================================
--- socket.py	(revision 73134)
+++ socket.py	(working copy)
@@ -16,7 +16,7 @@
 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

----------
components: Library (Lib)
files: socket.patch
keywords: patch
messages: 88715
nosy: ptn
severity: normal
status: open
title: Minor typo in socket.py
versions: Python 2.6
Added file: http://bugs.python.org/file14153/socket.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6173>
_______________________________________


More information about the New-bugs-announce mailing list