py3: port external FreeCAD module to Python3

whitespace improvement
This commit is contained in:
wmayer
2017-06-02 10:18:41 +02:00
parent 8164722a71
commit 369cc735e1
2 changed files with 97 additions and 111 deletions

View File

@@ -319,11 +319,7 @@ QWidget* setupMainWindow()
return Gui::getMainWindow();
}
#if PY_MAJOR_VERSION >= 3
PyMODINIT_FUNC PyInit_FreeCADGui()
#else
PyMODINIT_FUNC initFreeCADGui()
#endif
PyMOD_INIT_FUNC(FreeCADGui)
{
try {
Base::Interpreter().loadModule("FreeCAD");