[Python-checkins] CVS: python/dist/src/Doc/lib libbinascii.tex,1.18,1.19
Fred L. Drake
python-dev@python.org
Tue, 15 Aug 2000 10:47:17 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18655/lib
Modified Files:
libbinascii.tex
Log Message:
Fix markup bug that prevented formatting.
Adjusted some markup for consistency with the rest of the documentation
and creation of the proper index entries.
Index: libbinascii.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbinascii.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** libbinascii.tex 2000/08/15 06:08:00 1.18
--- libbinascii.tex 2000/08/15 17:47:09 1.19
***************
*** 86,102 ****
\begin{funcdesc}{b2a_hex}{data}
Return the hexadecimal representation of the binary \var{data}. Every
byte of \var{data} is converted into the corresponding 2-digit hex
! representation. The resulting string is therefore, twice as long as
! the length of \var{data}. This function is also available as
! \function{hexlify()}.
\end{funcdesc}
\begin{funcdesc}{a2b_hex}{hexstr}
Return the binary data represented by the hexadecimal string
\var{hexstr}. This function is the inverse of \function{b2a_hex()}.
\var{hexstr} must contain an even number of hexadecimal digits (which
can be upper or lower case), otherwise a \exception{TypeError} is
! raised. This function is also available as \function{unhexlify()}.
\begin{excdesc}{Error}
--- 86,104 ----
\begin{funcdesc}{b2a_hex}{data}
+ \funcline{hexlify}{data}
Return the hexadecimal representation of the binary \var{data}. Every
byte of \var{data} is converted into the corresponding 2-digit hex
! representation. The resulting string is therefore twice as long as
! the length of \var{data}.
\end{funcdesc}
\begin{funcdesc}{a2b_hex}{hexstr}
+ \funcline{unhexlify}{hexstr}
Return the binary data represented by the hexadecimal string
\var{hexstr}. This function is the inverse of \function{b2a_hex()}.
\var{hexstr} must contain an even number of hexadecimal digits (which
can be upper or lower case), otherwise a \exception{TypeError} is
! raised.
! \end{funcdesc}
\begin{excdesc}{Error}
***************
*** 112,119 ****
\begin{seealso}
! \seemodule{base64}{support for base64 encoding used in MIME email messages}
! \seemodule{binhex}{support for the binhex format used on the Macintosh}
! \seemodule{uu}{support for UU encoding used on \UNIX{}}
\end{seealso}
--- 114,121 ----
\begin{seealso}
! \seemodule{base64}{Support for base64 encoding used in MIME email messages.}
! \seemodule{binhex}{Support for the binhex format used on the Macintosh.}
! \seemodule{uu}{Support for UU encoding used on \UNIX.}
\end{seealso}