diff options
Diffstat (limited to 'src/lxml/python.pxd')
| -rw-r--r-- | src/lxml/python.pxd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd index 27b9f895..af857caa 100644 --- a/src/lxml/python.pxd +++ b/src/lxml/python.pxd @@ -88,8 +88,7 @@ cdef extern from "Python.h": cdef void* PyMem_Realloc(void* p, size_t size) cdef void PyMem_Free(void* p) - # these two always return NULL to pass on the exception - cdef object PyErr_NoMemory() + # always returns NULL to pass on the exception cdef object PyErr_SetFromErrno(object type) cdef PyThreadState* PyEval_SaveThread() |
