+ improve whitespaces

+ fix sequence protocol and fix crash
This commit is contained in:
wmayer
2016-05-01 15:44:02 +02:00
parent e331bdbc5d
commit 61376ef135
4 changed files with 25 additions and 18 deletions

View File

@@ -171,8 +171,8 @@ PyMethodDef Application::Methods[] = {
"showPreferences([string,int]) -> None\n\n"
"Shows the preferences window. If string and int are provided, the given page index in the given group is shown."},
{"createViewer", (PyCFunction) Application::sCreateViewer,1,
"createViewer([int]) -> View3DInventor/SplitView3DInventor\n\n"
"shows and returns a viewer. If the integer argument is given and > 1: -> splitViewer"},
"createViewer([int]) -> View3DInventor/SplitView3DInventor\n\n"
"shows and returns a viewer. If the integer argument is given and > 1: -> splitViewer"},
{NULL, NULL} /* Sentinel */
};
@@ -1114,7 +1114,6 @@ PyObject* Application::sShowPreferences(PyObject * /*self*/, PyObject *args,PyOb
return Py_None;
}
PyObject* Application::sCreateViewer(PyObject * /*self*/, PyObject *args,PyObject * /*kwd*/)
{
@@ -1138,4 +1137,4 @@ PyObject* Application::sCreateViewer(PyObject * /*self*/, PyObject *args,PyObjec
}
}
return Py_None;
}
}