From d38a335d47f1632000db5172877499ff0184d114 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 24 Feb 2013 02:32:56 +0000 Subject: Code clean-up and fix for typos in docstrings. --- source/blender/freestyle/intern/python/BPy_Id.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source/blender/freestyle/intern/python/BPy_Id.cpp') diff --git a/source/blender/freestyle/intern/python/BPy_Id.cpp b/source/blender/freestyle/intern/python/BPy_Id.cpp index d814efde3ce..f4ae7c18eca 100644 --- a/source/blender/freestyle/intern/python/BPy_Id.cpp +++ b/source/blender/freestyle/intern/python/BPy_Id.cpp @@ -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 */ -- cgit v1.2.3