[Python-checkins] CVS: python/dist/src/Doc/lib libcopyreg.tex,1.7,1.8
Fred L. Drake
python-dev@python.org
Tue, 10 Oct 2000 11:36:06 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.5,1.6 libcurses.tex,1.19,1.20 libdis.tex,1.28,1.29 liberrno.tex,1.10,1.11 libgetopt.tex,1.14,1.15 libimghdr.tex,1.12,1.13 libnew.tex,1.4,1.5 libpprint.tex,1.13,1.14 libqueue.tex,1.10,1.11 libreadline.tex,1.4,1.5 librepr.tex,1.2,1.3 librlcompleter.tex,1.3,1.4 librotor.tex,1.15,1.16 libsignal.tex,1.18,1.19 libsndhdr.tex,1.2,1.3 libsocksvr.tex,1.12,1.13
- Next message: [Python-checkins] CVS: python/dist/src/Doc/tools mksourcepkg,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv19896
Modified Files:
libcopyreg.tex
Log Message:
Make it clear that copy_reg.pickle() should not be used for classes, but
only for extension types.
This partially fixes SourceForge bug #116295.
Index: libcopyreg.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcopyreg.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** libcopyreg.tex 1999/04/22 21:23:21 1.7
--- libcopyreg.tex 2000/10/10 18:36:02 1.8
***************
*** 21,28 ****
\begin{funcdesc}{pickle}{type, function\optional{, constructor}}
Declares that \var{function} should be used as a ``reduction''
! function for objects of type or class \var{type}. \var{function}
! should return either a string or a tuple. The optional
! \var{constructor} parameter, if provided, is a callable object which
! can be used to reconstruct the object when called with the tuple of
! arguments returned by \var{function} at pickling time.
\end{funcdesc}
--- 21,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. The optional \var{constructor} parameter, if provided, is a
! callable object which can be used to reconstruct the object when
! called with the tuple of arguments returned by \var{function} at
! pickling time.
\end{funcdesc}
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.5,1.6 libcurses.tex,1.19,1.20 libdis.tex,1.28,1.29 liberrno.tex,1.10,1.11 libgetopt.tex,1.14,1.15 libimghdr.tex,1.12,1.13 libnew.tex,1.4,1.5 libpprint.tex,1.13,1.14 libqueue.tex,1.10,1.11 libreadline.tex,1.4,1.5 librepr.tex,1.2,1.3 librlcompleter.tex,1.3,1.4 librotor.tex,1.15,1.16 libsignal.tex,1.18,1.19 libsndhdr.tex,1.2,1.3 libsocksvr.tex,1.12,1.13
- Next message: [Python-checkins] CVS: python/dist/src/Doc/tools mksourcepkg,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]