Code clean-up and fix for typos in docstrings.

This commit is contained in:
2013-02-24 02:32:56 +00:00
parent 3bd0b89716
commit d38a335d47
52 changed files with 572 additions and 620 deletions

View File

@@ -129,14 +129,9 @@ static PyObject * Id_RichCompare(BPy_Id *o1, BPy_Id *o2, int opid)
return PyBool_from_bool(!(o1->id->operator<(*(o2->id))));
break;
}
Py_RETURN_NONE;
}
static PyMethodDef BPy_Id_methods[] = {
{NULL, NULL, 0, NULL}
};
/*----------------------Id get/setters ----------------------------*/
PyDoc_STRVAR(Id_first_doc,
@@ -217,7 +212,7 @@ PyTypeObject Id_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
BPy_Id_methods, /* tp_methods */
0, /* tp_methods */
0, /* tp_members */
BPy_Id_getseters, /* tp_getset */
0, /* tp_base */