]> granicus.if.org Git - python/commitdiff
Use \withsubitem{} for indexing functions from other modules. This fixes
authorFred Drake <fdrake@acm.org>
Thu, 12 Mar 1998 06:44:58 +0000 (06:44 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Mar 1998 06:44:58 +0000 (06:44 +0000)
things in the index.

Doc/lib/libposix.tex
Doc/libposix.tex

index 1a62bbaa987f038af4d1182fd8743a723452f3de..467195fb7ac61a7aba0872994e6c750d431515fa 100644 (file)
@@ -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}
 
index 1a62bbaa987f038af4d1182fd8743a723452f3de..467195fb7ac61a7aba0872994e6c750d431515fa 100644 (file)
@@ -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}