Cleanup: trailing commas

This commit is contained in:
2019-04-16 16:40:47 +02:00
parent d217b23f73
commit dbc058301b
119 changed files with 262 additions and 258 deletions

View File

@@ -932,7 +932,7 @@ PyTypeObject color_Type = {
NULL, /* tp_cache */
NULL, /* tp_subclasses */
NULL, /* tp_weaklist */
NULL /* tp_del */
NULL, /* tp_del */
};
PyObject *Color_CreatePyObject(

View File

@@ -784,7 +784,7 @@ PyTypeObject euler_Type = {
NULL, /* tp_cache */
NULL, /* tp_subclasses */
NULL, /* tp_weaklist */
NULL /* tp_del */
NULL, /* tp_del */
};

View File

@@ -36,7 +36,7 @@
typedef enum eMatrixAccess_t {
MAT_ACCESS_ROW,
MAT_ACCESS_COL
MAT_ACCESS_COL,
} eMatrixAccess_t;
static PyObject *Matrix_copy_notest(MatrixObject *self, const float *matrix);
@@ -3078,7 +3078,7 @@ PyTypeObject matrix_Type = {
NULL, /*tp_cache*/
NULL, /*tp_subclasses*/
NULL, /*tp_weaklist*/
NULL /*tp_del*/
NULL, /*tp_del*/
};
PyObject *Matrix_CreatePyObject(

View File

@@ -1295,7 +1295,7 @@ PyTypeObject PyBVHTree_Type = {
NULL, /* tp_cache */
NULL, /* tp_subclasses */
NULL, /* tp_weaklist */
(destructor) NULL /* tp_del */
(destructor)NULL, /* tp_del */
};
/* -------------------------------------------------------------------- */
@@ -1313,7 +1313,7 @@ static struct PyModuleDef bvhtree_moduledef = {
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL /* m_free */
NULL, /* m_free */
};
PyMODINIT_FUNC PyInit_mathutils_bvhtree(void)

View File

@@ -453,7 +453,7 @@ PyTypeObject PyKDTree_Type = {
NULL, /* tp_cache */
NULL, /* tp_subclasses */
NULL, /* tp_weaklist */
(destructor) NULL /* tp_del */
(destructor)NULL, /* tp_del */
};
PyDoc_STRVAR(py_kdtree_doc,
@@ -468,7 +468,7 @@ static struct PyModuleDef kdtree_moduledef = {
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL /* m_free */
NULL, /* m_free */
};
PyMODINIT_FUNC PyInit_mathutils_kdtree(void)