Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d44e7ad7
Commit
d44e7ad7
authored
Nov 15, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor updates to add more pointers to the pickle documentation, and to
clarify some of the interface.
parent
fd4f069b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Doc/lib/libcopyreg.tex
Doc/lib/libcopyreg.tex
+7
-1
No files found.
Doc/lib/libcopyreg.tex
View file @
d44e7ad7
...
...
@@ -24,9 +24,15 @@ functions or class instances.
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
tuple containing two or three elements.
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.
\exception
{
TypeError
}
will be raised if
\var
{
object
}
is a class or
\var
{
constructor
}
is not callable.
See the
\refmodule
{
pickle
}
module for more
details on the interface expected of
\var
{
function
}
and
\var
{
constructor
}
.
\end{funcdesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment