diff options
Diffstat (limited to 'Doc/libmacdnr.tex')
-rw-r--r-- | Doc/libmacdnr.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libmacdnr.tex b/Doc/libmacdnr.tex index ab45788..5ae59a6 100644 --- a/Doc/libmacdnr.tex +++ b/Doc/libmacdnr.tex @@ -1,5 +1,5 @@ - \section{Built-in Module \sectcode{macdnr}} +\label{module-macdnr} \bimodindex{macdnr} This module provides an interface to the Macintosh Domain Name @@ -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: -\begin{verbatim} +\bcode\begin{verbatim} >>> def gethostname(name): ... import macdnr ... dnrr = macdnr.StrToAddr(name) ... return macdnr.AddrToStr(dnrr.ip0) -\end{verbatim} +\end{verbatim}\ecode |