diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-12-01 00:57:12 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-12-01 00:57:12 (GMT) |
commit | 3805fe7768b84ba829ca0f38d4237b164127bc9d (patch) | |
tree | 3a196eca24f127ef39d1f37179534a33479e1f62 /Doc | |
parent | aafdc9cb92b2d1fe297ad86894e4935bf05f4c49 (diff) | |
download | cpython-3805fe7768b84ba829ca0f38d4237b164127bc9d.zip cpython-3805fe7768b84ba829ca0f38d4237b164127bc9d.tar.gz cpython-3805fe7768b84ba829ca0f38d4237b164127bc9d.tar.bz2 |
Mention getservbyport(). There's no patch number in the CVS log, so I assume Barry wrote the code.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 5ed4329..478f5b8 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -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 |