[Python-checkins] python/dist/src/Doc/lib libpickle.tex,1.48,1.49
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Wed May 5 00:56:24 EDT 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13077
Modified Files:
libpickle.tex
Log Message:
add an index entry for __getnewargs__()
Index: libpickle.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpickle.tex,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** libpickle.tex 5 May 2004 04:54:37 -0000 1.48
--- libpickle.tex 5 May 2004 04:56:06 -0000 1.49
***************
*** 459,462 ****
--- 459,464 ----
\withsubitem{(instance constructor)}{\ttindex{__init__()}}
+ \withsubitem{(copy protocol)}{\ttindex{__getnewargs__()}}
+
New-style types can provide a \method{__getnewargs__()} method that is
used for protocol 2. Implementing this method is needed if the type
More information about the Python-checkins
mailing list