App: fix wrong python function type in FreeCAD.open()

This commit is contained in:
Zheng, Lei
2019-10-09 16:17:34 +08:00
committed by wwmayer
parent 8d9e0c2c94
commit 363fe1b635

View File

@@ -103,7 +103,7 @@ PyMethodDef Application::Methods[] = {
"* If no module is given it will be determined by the file extension.\n"
"* If more than one module can load a file the first one one will be taken.\n"
"* If no module exists to load the file an exception will be raised."},
{"open", (PyCFunction) Application::sOpenDocument, METH_VARARGS,
{"open", (PyCFunction) Application::sOpenDocument, METH_VARARGS|METH_KEYWORDS,
"See openDocument(string)"},
{"openDocument", (PyCFunction) Application::sOpenDocument, METH_VARARGS|METH_KEYWORDS,
"openDocument(filepath,hidden=False) -> object\n"