Commit daae6161 authored by Neal Norwitz's avatar Neal Norwitz

Use convenience function

parent e8c0536d
......@@ -10,7 +10,7 @@ asdl_seq_new(int size)
seq = (asdl_seq *)PyObject_Malloc(n);
if (!seq) {
PyErr_SetString(PyExc_MemoryError, "no memory");
PyErr_NoMemory();
return NULL;
}
memset(seq, 0, n);
......
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