Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Boxiang Sun
cython
Commits
dfe94c2c
Commit
dfe94c2c
authored
May 04, 2014
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #292 from malept/fix-cpython-module-typo
Fix typos in the CPython module include file
parents
cfbd88a2
abc90c51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Includes/cpython/module.pxd
Cython/Includes/cpython/module.pxd
+3
-3
No files found.
Cython/Includes/cpython/module.pxd
View file @
dfe94c2c
...
...
@@ -163,12 +163,12 @@ cdef extern from "Python.h":
# function. This steals a reference to value. Return -1 on error,
# 0 on success.
int
PyModule_AddIntant
(
object
module
,
char
*
name
,
long
value
)
except
-
1
# Add an integer ant to module as name. This convenience
int
PyModule_AddInt
Const
ant
(
object
module
,
char
*
name
,
long
value
)
except
-
1
# Add an integer
const
ant to module as name. This convenience
# function can be used from the module's initialization
# function. Return -1 on error, 0 on success.
int
PyModule_AddStringant
(
object
module
,
char
*
name
,
char
*
value
)
except
-
1
int
PyModule_AddString
Const
ant
(
object
module
,
char
*
name
,
char
*
value
)
except
-
1
# Add a string constant to module as name. This convenience
# function can be used from the module's initialization
# function. The string value must be null-terminated. Return -1 on
...
...
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