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
35b01e9a
Commit
35b01e9a
authored
Nov 01, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Took out silly extra PyString_Size call.
parent
7d913873
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lib/python/SearchIndex/Splitter.c
lib/python/SearchIndex/Splitter.c
+2
-4
No files found.
lib/python/SearchIndex/Splitter.c
View file @
35b01e9a
...
...
@@ -166,8 +166,6 @@ check_synstop(Splitter *self, PyObject *word)
int
len
;
cword
=
PyString_AsString
(
word
);
len
=
PyString_Size
(
word
)
-
1
;
len
=
PyString_Size
(
word
);
if
(
len
<
2
)
/* Single-letter words are stop words! */
{
...
...
@@ -480,7 +478,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"for use in an inverted index
\n
"
"
\n
"
"$Id: Splitter.c,v 1.1
3 2000/09/13 14:54:15 brian
Exp $
\n
"
"$Id: Splitter.c,v 1.1
4 2000/11/01 14:20:02 jim
Exp $
\n
"
;
...
...
@@ -488,7 +486,7 @@ void
initSplitter
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
3
$"
;
char
*
rev
=
"$Revision: 1.1
4
$"
;
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
...
...
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