Code clean-up and fix for typos in docstrings.
This commit is contained in:
@@ -105,10 +105,6 @@ static int FEdge_init(BPy_FEdge *self, PyObject *args, PyObject *kwds)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static PyMethodDef BPy_FEdge_methods[] = {
|
||||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
/*----------------------FEdge sequence protocol ----------------------------*/
|
||||
|
||||
static Py_ssize_t FEdge_sq_length(BPy_FEdge *self)
|
||||
@@ -365,7 +361,7 @@ PyTypeObject FEdge_Type = {
|
||||
0, /* tp_weaklistoffset */
|
||||
0, /* tp_iter */
|
||||
0, /* tp_iternext */
|
||||
BPy_FEdge_methods, /* tp_methods */
|
||||
0, /* tp_methods */
|
||||
0, /* tp_members */
|
||||
BPy_FEdge_getseters, /* tp_getset */
|
||||
&Interface1D_Type, /* tp_base */
|
||||
|
||||
@@ -100,10 +100,6 @@ static int FEdgeSharp_init(BPy_FEdgeSharp *self, PyObject *args, PyObject *kwds)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static PyMethodDef BPy_FEdgeSharp_methods[] = {
|
||||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
/*----------------------mathutils callbacks ----------------------------*/
|
||||
|
||||
/* subtype */
|
||||
@@ -414,7 +410,7 @@ PyTypeObject FEdgeSharp_Type = {
|
||||
0, /* tp_weaklistoffset */
|
||||
0, /* tp_iter */
|
||||
0, /* tp_iternext */
|
||||
BPy_FEdgeSharp_methods, /* tp_methods */
|
||||
0, /* tp_methods */
|
||||
0, /* tp_members */
|
||||
BPy_FEdgeSharp_getseters, /* tp_getset */
|
||||
&FEdge_Type, /* tp_base */
|
||||
|
||||
@@ -97,10 +97,6 @@ static int FEdgeSmooth_init(BPy_FEdgeSmooth *self, PyObject *args, PyObject *kwd
|
||||
return 0;
|
||||
}
|
||||
|
||||
static PyMethodDef BPy_FEdgeSmooth_methods[] = {
|
||||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
/*----------------------mathutils callbacks ----------------------------*/
|
||||
|
||||
static int FEdgeSmooth_mathutils_check(BaseMathObject *bmo)
|
||||
@@ -269,7 +265,7 @@ PyTypeObject FEdgeSmooth_Type = {
|
||||
0, /* tp_weaklistoffset */
|
||||
0, /* tp_iter */
|
||||
0, /* tp_iternext */
|
||||
BPy_FEdgeSmooth_methods, /* tp_methods */
|
||||
0, /* tp_methods */
|
||||
0, /* tp_members */
|
||||
BPy_FEdgeSmooth_getseters, /* tp_getset */
|
||||
&FEdge_Type, /* tp_base */
|
||||
|
||||
Reference in New Issue
Block a user