create empty array
This commit is contained in:
parent
5a5e2fe59b
commit
034a9bcc8e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue