create empty array

This commit is contained in:
Christian Zimmermann 2024-02-09 13:45:21 +01:00
parent 5a5e2fe59b
commit 034a9bcc8e

View file

@ -12,7 +12,7 @@ int PyCxArrayB_init(PyCxArrayB* self, PyObject* args, PyObject* kwds)
SizeT ext = 0;
char* type = NULL;
if(not PyArg_ParseTupleAndKeywords(args, kwds, "s|k", kwlist, &type, &ext)){
if(not PyArg_ParseTupleAndKeywords(args, kwds, "|sk", kwlist, &type, &ext)){
return -1;
}