diff options
author | Guido van Rossum <guido@python.org> | 1998-08-04 22:16:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-04 22:16:43 (GMT) |
commit | 7d896ab1bbd5e15be7ae9203ead47f4f500a6a81 (patch) | |
tree | 798a22d0702c80fc3222ac8512a9c8fd4cf0b364 /Objects/longobject.c | |
parent | 45f2601cf38b11647df3a3dd45465d4c57c77dfc (diff) | |
download | cpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.zip cpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.tar.gz cpython-7d896ab1bbd5e15be7ae9203ead47f4f500a6a81.tar.bz2 |
Added gethostbyname_ex(), which returns the same kind of data as
gethostbyaddr(). (Plain gethostbyname() returns only the IP address.)
This moves the code shared by gethostbyaddr() and gethostbyname_ex()
to a subroutine.
Original patch by Dan Stromberg; some tweaks by GvR.
Diffstat (limited to 'Objects/longobject.c')
0 files changed, 0 insertions, 0 deletions