summaryrefslogtreecommitdiffstats
path: root/Doc/mac/libmacdnr.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/mac/libmacdnr.tex')
-rw-r--r--Doc/mac/libmacdnr.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/mac/libmacdnr.tex b/Doc/mac/libmacdnr.tex
index ab45788..5ae59a6 100644
--- a/Doc/mac/libmacdnr.tex
+++ b/Doc/mac/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