Commit dfe94c2c authored by scoder's avatar scoder

Merge pull request #292 from malept/fix-cpython-module-typo

Fix typos in the CPython module include file
parents cfbd88a2 abc90c51
...@@ -163,12 +163,12 @@ cdef extern from "Python.h": ...@@ -163,12 +163,12 @@ cdef extern from "Python.h":
# function. This steals a reference to value. Return -1 on error, # function. This steals a reference to value. Return -1 on error,
# 0 on success. # 0 on success.
int PyModule_AddIntant(object module, char *name, long value) except -1 int PyModule_AddIntConstant(object module, char *name, long value) except -1
# Add an integer ant to module as name. This convenience # Add an integer constant to module as name. This convenience
# function can be used from the module's initialization # function can be used from the module's initialization
# function. Return -1 on error, 0 on success. # function. Return -1 on error, 0 on success.
int PyModule_AddStringant(object module, char *name, char *value) except -1 int PyModule_AddStringConstant(object module, char *name, char *value) except -1
# Add a string constant to module as name. This convenience # Add a string constant to module as name. This convenience
# function can be used from the module's initialization # function can be used from the module's initialization
# function. The string value must be null-terminated. Return -1 on # function. The string value must be null-terminated. Return -1 on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment