[Python-bugs-list] [ python-Bugs-530143 ] Typo in 3.16 copy_reg doc
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 14 Mar 2002 18:49:29 -0800
Bugs item #530143, was opened at 2002-03-14 18:49
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=530143&group_id=5470
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Miller (mrmiller)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Typo in 3.16 copy_reg doc
Initial Comment:
On the page at <http://www.python.org/doc/current/lib/module-copyreg.html> in the second
half about the pickle function, it says, in part:
> pickle(type, function[, constructor])
> Declares that function should be used as a ``reduction'' function for objects of type type;
> type should not a class object. function should return either a string or a tuple containing
> two or three elements.
The part that says "type should not a class object" seems wrong. I think it should probably be
"type should be a class object".
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=530143&group_id=5470