diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/libmacdnr.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2 |
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libmacdnr.tex')
-rw-r--r-- | Doc/libmacdnr.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/libmacdnr.tex b/Doc/libmacdnr.tex index 5ae59a6..fabe3e1 100644 --- a/Doc/libmacdnr.tex +++ b/Doc/libmacdnr.tex @@ -9,7 +9,7 @@ all Mac Python versions. The \code{macdnr} module defines the following functions: -\renewcommand{\indexsubitem}{(in module macdnr)} +\setindexsubitem{(in module macdnr)} \begin{funcdesc}{Open}{\optional{filename}} Open the domain name resolver extension. If \var{filename} is given it @@ -64,7 +64,7 @@ this will result in an implicit wait for the query to complete. The \var{rtnCode} and \var{cname} attributes are always available, the others depend on the type of query (address, hinfo or mx). -\renewcommand{\indexsubitem}{(dnr result object method)} +\setindexsubitem{(dnr result object method)} % Add args, as in {arg1\, arg2 \optional{\, arg3}} \begin{funcdesc}{wait}{} @@ -76,7 +76,7 @@ Wait for the query to complete. Return 1 if the query is complete. \end{funcdesc} -\renewcommand{\indexsubitem}{(dnr result object attribute)} +\setindexsubitem{(dnr result object attribute)} \begin{datadesc}{rtnCode} The error code returned by the query. @@ -111,9 +111,9 @@ will only return a single mx record. Mx queries only. The simplest way to use the module to convert names to dotted-decimal strings, without worrying about idle time, etc: -\bcode\begin{verbatim} +\begin{verbatim} >>> def gethostname(name): ... import macdnr ... dnrr = macdnr.StrToAddr(name) ... return macdnr.AddrToStr(dnrr.ip0) -\end{verbatim}\ecode +\end{verbatim} |