[Python-checkins] python/dist/src/Doc/lib libshelve.tex,1.18,1.19

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Mon, 20 Jan 2003 17:52:41 -0800


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

Modified Files:
	libshelve.tex 
Log Message:
more tweaks


Index: libshelve.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshelve.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** libshelve.tex	21 Jan 2003 01:38:47 -0000	1.18
--- libshelve.tex	21 Jan 2003 01:52:39 -0000	1.19
***************
*** 15,24 ****
  
  \begin{funcdesc}{open}{filename\optional{,flag='c'\optional{,binary=\code{False}}}}
! Open a persistent dictionary.  By default, the underlying database file is
! opened for reading and writing.  The optional \var{flag} pararameter, if set
! to \code{'r'}, can be used to force the file to be opened in read-only mode.
! By default, ASCII pickles are used to serialize values.  If the optional
! {}\var{binary} parameter is set to \var{True}, binary pickles will be used
! instead.
  \end{funcdesc}
  
--- 15,26 ----
  
  \begin{funcdesc}{open}{filename\optional{,flag='c'\optional{,binary=\code{False}}}}
! Open a persistent dictionary.  The filename specified is the base filename
! for the underlying database.  As a side-effect, an extension may be added to
! the filename and more than one file may be created.  By default, the
! underlying database file is opened for reading and writing.  The optional
! {}\var{flag} pararameter has the same interpretation as the \var{flag}
! parameter of \function{anydbm.open}.  By default, ASCII pickles are used to
! serialize values.  If the optional \var{binary} parameter is set to
! {}\var{True}, binary pickles will be used instead.
  \end{funcdesc}
  
***************
*** 79,89 ****
  
  \begin{classdesc}{DbfilenameShelf}{filename\optional{, flag='c'\optional{, binary=False}}}
! A subclass of \class{Shelf} which accepts a \var{filename} instead of a dict-like
! object.  The underlying file will be opened using \function{anydbm.open}.
! By default, the file will be created and opened for both read and write.
! The optional \var{flag} parameter has the same interpretation as for the
! \function{open} function.
! The optional \var{binary} parameter has the same interpretation as for the
! \class{Shelf} class.
  \end{classdesc}
  
--- 81,92 ----
  
  \begin{classdesc}{DbfilenameShelf}{filename\optional{, flag='c'\optional{, binary=False}}}
! 
! A subclass of \class{Shelf} which accepts a \var{filename} instead of a
! dict-like object.  The underlying file will be opened using
! {}\function{anydbm.open}.  By default, the file will be created and opened
! for both read and write.  The optional \var{flag} parameter has the same
! interpretation as for the \function{open} function.  The optional
! \var{binary} parameter has the same interpretation as for the
! {}\class{Shelf} class.
  \end{classdesc}