]> granicus.if.org Git - python/commitdiff
Mention getservbyport(). There's no patch number in the CVS log, so I assume Barry...
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 1 Dec 2004 00:57:12 +0000 (00:57 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 1 Dec 2004 00:57:12 +0000 (00:57 +0000)
Doc/whatsnew/whatsnew24.tex

index 5ed43293beb40f217864850a5258ae1d70a79dd0..478f5b8b43c37260f2141e830e83eaaeb6ee9ae7 100644 (file)
@@ -1422,9 +1422,10 @@ sidestep the checking and if you were unlucky Python could segfault.
 Python 2.4's regular expression engine can match this pattern without
 problems.
 
-\item A new \function{socketpair()} function, returning a pair of
-connected sockets, was added to the \module{socket} module.
-(Contributed by Dave Cole.)
+\item Two new functions were added to the \module{socket} module.
+\function{socketpair()} returns a pair of connected sockets and
+\function{getservbyport(\var{port})} looks up the service name for a
+given port number. (Contributed by Dave Cole and Barry Warsaw.)
 
 \item The \function{sys.exitfunc()} function has been deprecated.  Code
 should be using the existing \module{atexit} module, which correctly