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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
f00c240c
Commit
f00c240c
authored
Aug 16, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up comments
parent
a8cb98ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+2
-2
No files found.
Cython/Utility/CythonFunction.c
View file @
f00c240c
...
@@ -1202,10 +1202,10 @@ static PyObject* __Pyx_Method_ClassMethod(PyObject *method) {
...
@@ -1202,10 +1202,10 @@ static PyObject* __Pyx_Method_ClassMethod(PyObject *method) {
}
}
#else
#else
#if CYTHON_COMPILING_IN_PYSTON
#if CYTHON_COMPILING_IN_PYSTON
//
Pyston add this API for convinience.
//
special C-API function only in Pyston
if
(
PyMethodDescr_Check
(
method
))
{
if
(
PyMethodDescr_Check
(
method
))
{
#else
#else
// It appears that PyMethodDescr_Type is not
anywhere exposed in the Python/C
API
// It appears that PyMethodDescr_Type is not
exposed anywhere in the CPython C-
API
static
PyTypeObject
*
methoddescr_type
=
NULL
;
static
PyTypeObject
*
methoddescr_type
=
NULL
;
if
(
methoddescr_type
==
NULL
)
{
if
(
methoddescr_type
==
NULL
)
{
PyObject
*
meth
=
PyObject_GetAttrString
((
PyObject
*
)
&
PyList_Type
,
"append"
);
PyObject
*
meth
=
PyObject_GetAttrString
((
PyObject
*
)
&
PyList_Type
,
"append"
);
...
...
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