[Python-checkins] python/dist/src/Doc/lib libxmlrpclib.tex,1.8,1.9

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Thu, 13 Jun 2002 17:33:04 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6085/lib

Modified Files:
	libxmlrpclib.tex 
Log Message:
Document the Binary.data attribute.
This closes SF bug #562878.


Index: libxmlrpclib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libxmlrpclib.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** libxmlrpclib.tex	17 Mar 2002 23:15:02 -0000	1.8
--- libxmlrpclib.tex	14 Jun 2002 00:33:02 -0000	1.9
***************
*** 178,189 ****
  
  This class may initialized from string data (which may include NULs).
! It has the following methods, supported mainly for internal use by the
! marshalling/unmarshalling code:
  
! \begin{methoddesc}{decode}{string}
  Accept a base64 string and decode it as the instance's new data.
  \end{methoddesc}
  
! \begin{methoddesc}{encode}{out}
  Write the XML-RPC base 64 encoding of this binary item to the out
  stream object.
--- 178,197 ----
  
  This class may initialized from string data (which may include NULs).
! The primary acess to the content of a \class{Binary} object is
! provided by an attribute:
  
! \begin{memberdesc}[Binary]{data}
! The binary data encapsulated by the \class{Binary} instance.  The data
! is provided as an 8-bit string.
! \end{memberdesc}
! 
! \class{Binary} objects have the following methods, supported mainly
! for internal use by the marshalling/unmarshalling code:
! 
! \begin{methoddesc}[Binary]{decode}{string}
  Accept a base64 string and decode it as the instance's new data.
  \end{methoddesc}
  
! \begin{methoddesc}[Binary]{encode}{out}
  Write the XML-RPC base 64 encoding of this binary item to the out
  stream object.
***************
*** 191,195 ****
  
  It also supports certain of Python's built-in operators through a
! \method{_cmp__} method.
  
  
--- 199,203 ----
  
  It also supports certain of Python's built-in operators through a
! \method{_cmp__()} method.