diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
commit | d38a335d47f1632000db5172877499ff0184d114 (patch) | |
tree | 296dceec7d9a82057f0b7cd7ce33de6771dc8906 /source/blender/freestyle/intern/python/BPy_Id.cpp | |
parent | 3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 (diff) |
Code clean-up and fix for typos in docstrings.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Id.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Id.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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 */ |