Misc. typo fixes

Found via `codespell`
This commit is contained in:
luz.paz
2018-08-25 17:02:07 -04:00
committed by wmayer
parent 00312a39f9
commit 53e122a75a
4 changed files with 8 additions and 8 deletions

View File

@@ -766,7 +766,7 @@ bool SelectionSingleton::addSelection(const char* pDocName, const char* pObjectN
return true;
}
else {
// neither an existing nor active document available
// neither an existing nor active document available
// this can often happen when importing .iv files
Base::Console().Error("Cannot add to selection: no document '%s' found.\n", pDocName);
return false;
@@ -1039,7 +1039,7 @@ PyMethodDef SelectionSingleton::Methods[] = {
"second argumeht defines the document name. If no document name is given the\n"
"currently active document is used"},
{"getSelection", (PyCFunction) SelectionSingleton::sGetSelection, METH_VARARGS,
"getSelection([string]) -- Return a list of selected objets\n"
"getSelection([string]) -- Return a list of selected objects\n"
"Return a list of selected objects for a given document name. If no\n"
"document name is given the selection for the active document is returned."},
{"getCompleteSelection", (PyCFunction) SelectionSingleton::sGetCompleteSelection, METH_VARARGS,