Commit f00c240c authored by Stefan Behnel's avatar Stefan Behnel

clean up comments

parent a8cb98ac
...@@ -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");
......
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