style cleanup: trailing tabs & expand some non prefix tabs into spaces.
This commit is contained in:
@@ -278,7 +278,7 @@ void BPy_init_modules(void)
|
||||
bpy_import_test("bpy_types");
|
||||
PyModule_AddObject(mod, "data", BPY_rna_module()); /* imports bpy_types by running this */
|
||||
bpy_import_test("bpy_types");
|
||||
PyModule_AddObject(mod, "props", BPY_rna_props());
|
||||
PyModule_AddObject(mod, "props", BPY_rna_props());
|
||||
/* ops is now a python module that does the conversion from SOME_OT_foo -> some.foo */
|
||||
PyModule_AddObject(mod, "ops", BPY_operator_module());
|
||||
PyModule_AddObject(mod, "app", BPY_app_struct());
|
||||
|
||||
@@ -1511,7 +1511,7 @@ static PyObject *BPy_RemoveProperty(PyObject *self, PyObject *args, PyObject *kw
|
||||
args = PyTuple_New(0);
|
||||
ret = BPy_RemoveProperty(self, args, kw);
|
||||
Py_DECREF(args);
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
else if (PyTuple_GET_SIZE(args) > 1) {
|
||||
PyErr_SetString(PyExc_ValueError, "all args must be keywords");
|
||||
|
||||
@@ -5564,7 +5564,7 @@ PyTypeObject pyrna_prop_collection_Type = {
|
||||
NULL, /* getattrfunc tp_getattr; */
|
||||
NULL, /* setattrfunc tp_setattr; */
|
||||
NULL, /* tp_compare */ /* DEPRECATED in python 3.0! */
|
||||
NULL, /* subclassed */ /* tp_repr */
|
||||
NULL, /* subclassed */ /* tp_repr */
|
||||
|
||||
/* Method suites for standard classes */
|
||||
|
||||
@@ -5598,7 +5598,7 @@ PyTypeObject pyrna_prop_collection_Type = {
|
||||
|
||||
/*** Assigned meaning in release 2.1 ***/
|
||||
/*** rich comparisons ***/
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
|
||||
/*** weak reference enabler ***/
|
||||
#ifdef USE_WEAKREFS
|
||||
@@ -5683,7 +5683,7 @@ static PyTypeObject pyrna_prop_collection_idprop_Type = {
|
||||
|
||||
/*** Assigned meaning in release 2.1 ***/
|
||||
/*** rich comparisons ***/
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
|
||||
/*** weak reference enabler ***/
|
||||
#ifdef USE_WEAKREFS
|
||||
@@ -5830,7 +5830,7 @@ PyTypeObject pyrna_prop_collection_iter_Type = {
|
||||
NULL, /* getattrfunc tp_getattr; */
|
||||
NULL, /* setattrfunc tp_setattr; */
|
||||
NULL, /* tp_compare */ /* DEPRECATED in python 3.0! */
|
||||
NULL, /* subclassed */ /* tp_repr */
|
||||
NULL, /* subclassed */ /* tp_repr */
|
||||
|
||||
/* Method suites for standard classes */
|
||||
|
||||
@@ -5868,7 +5868,7 @@ PyTypeObject pyrna_prop_collection_iter_Type = {
|
||||
|
||||
/*** Assigned meaning in release 2.1 ***/
|
||||
/*** rich comparisons ***/
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
|
||||
|
||||
/*** weak reference enabler ***/
|
||||
#ifdef USE_WEAKREFS
|
||||
|
||||
Reference in New Issue
Block a user