Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
6bff4058
Commit
6bff4058
authored
Jan 25, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of __version__, as Jim recommends. Use $ from docstring instead.
parent
2f9968f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/BTrees/BTreeModuleTemplate.c
src/BTrees/BTreeModuleTemplate.c
+2
-6
No files found.
src/BTrees/BTreeModuleTemplate.c
View file @
6bff4058
...
@@ -269,7 +269,7 @@ static char BTree_module_documentation[] =
...
@@ -269,7 +269,7 @@ static char BTree_module_documentation[] =
"
\n
"
"
\n
"
MASTER_ID
MASTER_ID
BTREEITEMSTEMPLATE_C
BTREEITEMSTEMPLATE_C
"$Id: BTreeModuleTemplate.c,v 1.1
6 2002/01/17 18:00:48 jeremy
Exp $
\n
"
"$Id: BTreeModuleTemplate.c,v 1.1
7 2002/01/25 15:34:06 gvanrossum
Exp $
\n
"
BTREETEMPLATE_C
BTREETEMPLATE_C
BUCKETTEMPLATE_C
BUCKETTEMPLATE_C
KEYMACROS_H
KEYMACROS_H
...
@@ -284,7 +284,7 @@ BTREEITEMSTEMPLATE_C
...
@@ -284,7 +284,7 @@ BTREEITEMSTEMPLATE_C
void
void
INITMODULE
(
void
)
INITMODULE
(
void
)
{
{
PyObject
*
m
,
*
d
,
*
c
,
*
s
;
PyObject
*
m
,
*
d
,
*
c
;
UNLESS
(
sort_str
=
PyString_FromString
(
"sort"
))
return
;
UNLESS
(
sort_str
=
PyString_FromString
(
"sort"
))
return
;
UNLESS
(
reverse_str
=
PyString_FromString
(
"reverse"
))
return
;
UNLESS
(
reverse_str
=
PyString_FromString
(
"reverse"
))
return
;
...
@@ -354,10 +354,6 @@ INITMODULE (void)
...
@@ -354,10 +354,6 @@ INITMODULE (void)
/* Add some symbolic constants to the module */
/* Add some symbolic constants to the module */
d
=
PyModule_GetDict
(
m
);
d
=
PyModule_GetDict
(
m
);
s
=
PyString_FromString
(
"$Revision: 1.16 $"
);
PyDict_SetItemString
(
d
,
"__version__"
,
s
);
Py_XDECREF
(
s
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"Bucket"
,
BucketType
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"Bucket"
,
BucketType
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"BTree"
,
BTreeType
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"BTree"
,
BTreeType
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"Set"
,
SetType
);
PyExtensionClass_Export
(
d
,
MOD_NAME_PREFIX
"Set"
,
SetType
);
...
...
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