PyAPI: message subscribe option arg now optional

This commit is contained in:
Campbell Barton
2019-02-07 09:29:01 +11:00
parent f11b5549ea
commit 9df4602035

View File

@@ -248,7 +248,7 @@ static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args
"options",
NULL,
};
static _PyArg_Parser _parser = {"$OOO!OO!:subscribe_rna", _keywords, 0};
static _PyArg_Parser _parser = {"$OOO!O|O!:subscribe_rna", _keywords, 0};
if (!_PyArg_ParseTupleAndKeywordsFast(
args, kw, &_parser,
&py_sub, &py_owner,