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
49e1c253
Commit
49e1c253
authored
Sep 10, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup
parent
ab7124e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libpickle.tex
Doc/lib/libpickle.tex
+5
-5
No files found.
Doc/lib/libpickle.tex
View file @
49e1c253
...
...
@@ -164,6 +164,7 @@ following constant:
\begin{datadesc}
{
HIGHEST
_
PROTOCOL
}
The highest protocol version available. This value can be passed
as a
\var
{
protocol
}
value.
\versionadded
{
2.3
}
\end{datadesc}
The
\module
{
pickle
}
module provides the
...
...
@@ -255,12 +256,11 @@ including (but not necessarily limited to) \exception{AttributeError},
The
\module
{
pickle
}
module also exports two callables
\footnote
{
In the
\module
{
pickle
}
module these callables are classes, which you could
subclass to customize the behavior. However, in the
\module
{
cPickle
}
module
s
these callables are factory functions and so cannot be
subclassed. One
of the common reasons
to subclass is to control what
subclass to customize the behavior. However, in the
\
ref
module
{
cPickle
}
module these callables are factory functions and so cannot be
subclassed. One
common reason
to subclass is to control what
objects can actually be unpickled. See section~
\ref
{
pickle-sub
}
for
more details.
}
,
\class
{
Pickler
}
and
\class
{
Unpickler
}
:
more details.
}
,
\class
{
Pickler
}
and
\class
{
Unpickler
}
:
\begin{classdesc}
{
Pickler
}{
file
\optional
{
, protocol
\optional
{
, bin
}}}
This takes a file-like object to which it will write a pickle data
...
...
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