summaryrefslogtreecommitdiffstats
path: root/Doc/libposix.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-12 06:44:58 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-12 06:44:58 (GMT)
commit371ecc0c1be0847862a67ffe4ca33fe0174ee986 (patch)
treedebd4e177094762232093234373318264e87ba39 /Doc/libposix.tex
parent0ee9f727c9e4437d615f6f5877d9f0383d99e726 (diff)
downloadcpython-371ecc0c1be0847862a67ffe4ca33fe0174ee986.zip
cpython-371ecc0c1be0847862a67ffe4ca33fe0174ee986.tar.gz
cpython-371ecc0c1be0847862a67ffe4ca33fe0174ee986.tar.bz2
Use \withsubitem{} for indexing functions from other modules. This fixes
things in the index.
Diffstat (limited to 'Doc/libposix.tex')
-rw-r--r--Doc/libposix.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/libposix.tex b/Doc/libposix.tex
index 1a62bba..467195f 100644
--- a/Doc/libposix.tex
+++ b/Doc/libposix.tex
@@ -440,10 +440,10 @@ operating system. The tuple contains 5 strings:
\var{machine})}. Some systems truncate the nodename to 8
characters or to the leading component; a better way to get the
hostname is \function{socket.gethostname()}%
-\index{gethostname()@\idxcode{gethostname()} (in module socket)}
+\withsubitem{(in module socket)}{\ttindex{gethostname()}}
or even
\code{socket.gethostbyaddr(socket.gethostname())}%
-\index{gethostbyaddr()@\idxcode{gethostbyaddr()} (in module socket)}.
+\withsubitem{(in module socket)}{\ttindex{gethostbyaddr()}}.
(Not on MS-DOS, nor on older \UNIX{} systems.)
\end{funcdesc}