Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
3455d58c
Commit
3455d58c
authored
Feb 28, 1997
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
bf094353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
lib/Components/cPickle/cPickle.c
lib/Components/cPickle/cPickle.c
+5
-6
No files found.
lib/Components/cPickle/cPickle.c
View file @
3455d58c
/*
$Id: cPickle.c,v 1.2
6 1997/02/28 23:07:51
chris Exp $
$Id: cPickle.c,v 1.2
7 1997/02/28 23:09:47
chris Exp $
Copyright
...
...
@@ -3705,7 +3705,7 @@ init_stuff(PyObject *module, PyObject *module_dict) {
void
initcPickle
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.2
6
$"
;
char
*
rev
=
"$Revision: 1.2
7
$"
;
PyObject
*
format_version
;
PyObject
*
compatible_formats
;
...
...
@@ -3724,17 +3724,16 @@ initcPickle() {
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#ifdef FORMAT_1_3
format_version
=
PyString_FromString
(
"1.2"
);
compatible_formats
=
Py_BuildValue
(
"[ss]"
,
"1.0"
,
"1.1"
);
#else
format_version
=
PyString_FromString
(
"1.3"
);
compatible_formats
=
Py_BuildValue
(
"[sss]"
,
"1.0"
,
"1.1"
,
"1.2"
);
#else
format_version
=
PyString_FromString
(
"1.2"
);
compatible_formats
=
Py_BuildValue
(
"[ss]"
,
"1.0"
,
"1.1"
);
#endif
PyDict_SetItemString
(
d
,
"format_version"
,
format_version
);
PyDict_SetItemString
(
d
,
"compatible_formats"
,
compatible_formats
);
init_stuff
(
m
,
d
);
CHECK_FOR_ERRORS
(
"can't initialize module cPickle"
);
}
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