PyMethodDef constructor Null safety

PyMethodDef()