[Python-checkins] python/dist/src/Doc/lib libpickle.tex,1.53,1.54
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Dec 7 08:06:25 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19035/Doc/lib
Modified Files:
libpickle.tex
Log Message:
Eliminate the deprecated option to return None instead of a tuple of arguments in __reduce__().
Index: libpickle.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpickle.tex,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- libpickle.tex 5 Dec 2004 05:20:41 -0000 1.53
+++ libpickle.tex 7 Dec 2004 07:05:51 -0000 1.54
@@ -515,12 +515,8 @@
unpickling environment. Note that as usual, the callable itself is
pickled by name.
-\item A tuple of arguments for the callable object, or \code{None}.
-\deprecated{2.3}{If this item is \code{None}, then instead of calling
-the callable directly, its \method{__basicnew__()} method is called
-without arguments; this method should also return the unpickled
-object. Providing \code{None} is deprecated, however; return a
-tuple of arguments instead.}
+\item A tuple of arguments for the callable object.
+\versionchanged[Formerly, this argument could also be \code{None}]{2.5}
\item Optionally, the object's state, which will be passed to
the object's \method{__setstate__()} method as described in
More information about the Python-checkins
mailing list