[Python-checkins] CVS: python/dist/src/Doc/lib libcopyreg.tex,1.10,1.11
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 18 Mar 2002 19:33:35 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv8414/lib
Modified Files:
libcopyreg.tex
Log Message:
Clarify that copy_reg.pickle() is not intended for use with "classic" classes.
This was stated before, but a minor grammatical error made it difficult to be
sure of the meaning.
This closes SF bug #530143.
Index: libcopyreg.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcopyreg.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** libcopyreg.tex 15 Nov 2001 23:37:26 -0000 1.10
--- libcopyreg.tex 19 Mar 2002 03:33:33 -0000 1.11
***************
*** 23,29 ****
\begin{funcdesc}{pickle}{type, function\optional{, constructor}}
Declares that \var{function} should be used as a ``reduction''
! function for objects of type \var{type}; \var{type} should not a
! class object. \var{function} should return either a string or a
! tuple containing two or three elements.
The optional \var{constructor} parameter, if provided, is a
--- 23,31 ----
\begin{funcdesc}{pickle}{type, function\optional{, constructor}}
Declares that \var{function} should be used as a ``reduction''
! function for objects of type \var{type}; \var{type} must not be a
! ``classic'' class object. (Classic classes are handled differently;
! see the documentation for the \refmodule{pickle} module for
! details.) \var{function} should return either a string or a tuple
! containing two or three elements.
The optional \var{constructor} parameter, if provided, is a