This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Minor typo in socket.py
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: mark.dickinson, ptn
Priority: normal Keywords: patch

Created on 2009-06-02 05:51 by ptn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socket.patch ptn, 2009-06-02 05:51
Messages (3)
msg88715 - (view) Author: Pablo Torres Navarrete (ptn) Date: 2009-06-02 05:50
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
msg88723 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-06-02 07:43
Thanks!  Fixed in r73138, r71739, r71740, r71741.
msg88724 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-06-02 07:44
Sorry.  Those revision numbers should be:

r73138, r73139, r73140, r73141.
History
Date User Action Args
2022-04-11 14:56:49adminsetgithub: 50423
2009-06-02 07:44:46mark.dickinsonsetmessages: + msg88724
2009-06-02 07:43:06mark.dickinsonsetstatus: open -> closed

type: behavior
versions: + Python 3.0, Python 3.1
nosy: + mark.dickinson

messages: + msg88723
resolution: fixed
stage: resolved
2009-06-02 06:25:43ptnsetversions: + Python 2.7
2009-06-02 05:51:26ptncreate