Commits

Ronald Oussoren committed b25c54a

Make doc argument optional

  • Participants
  • Parent commits dd794d9

Comments (0)

Files changed (1)

File pyobjc-core/Modules/objc/module.m

 	Py_ssize_t pack = -1;
 
 	if (!PyArg_ParseTupleAndKeywords(args, kwds, 
-				"s"Py_ARG_BYTES"O|s" Py_ARG_SIZE_T , 
+				"s"Py_ARG_BYTES"O|z" Py_ARG_SIZE_T , 
 				keywords, 
 				&name, &typestr, &pyfieldnames, &docstr, &pack)) {
 		return NULL;