From 7cc5cc8d74007f6be805fa56b590d2174b87f5ea Mon Sep 17 00:00:00 2001 From: marioalexis Date: Sat, 29 Jan 2022 14:08:48 -0300 Subject: [PATCH] Gui: Fix some docstrings in Selection module --- src/Gui/Selection.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Gui/Selection.cpp b/src/Gui/Selection.cpp index da7e47f0d6..971fbdb078 100644 --- a/src/Gui/Selection.cpp +++ b/src/Gui/Selection.cpp @@ -1912,8 +1912,8 @@ PyMethodDef SelectionSingleton::Methods[] = { "getPickedList(docName) -> list of Gui.SelectionObject\n" "\n" "Return a list of SelectionObjects generated by the last mouse click.\n" - "If no document name is given the active document is used and '*' means\n" - "all documents.\n" + "If no document name is given the active document is used and '*'\n" + "means all documents.\n" "\n" "docName : str\n Name of the `App.Document`."}, {"enablePickedList", (PyCFunction) SelectionSingleton::sEnablePickedList, METH_VARARGS, @@ -2004,7 +2004,7 @@ PyMethodDef SelectionSingleton::Methods[] = { "clearForward : bool\n Clear the forward selection stack.\n" "overwrite : bool\n Overwrite the top back selection stack with current selection."}, {"hasSelection", (PyCFunction) SelectionSingleton::sHasSelection, METH_VARARGS, - "hasSelection(docName, resolve=False) -> bool" + "hasSelection(docName, resolve=False) -> bool\n" "\n" "Check if there is any selection. If no document name is given,\n" "checks selections in all documents.\n" @@ -2012,9 +2012,10 @@ PyMethodDef SelectionSingleton::Methods[] = { "docName : str\n Name of the `App.Document`.\n" "resolve : bool"}, {"hasSubSelection", (PyCFunction) SelectionSingleton::sHasSubSelection, METH_VARARGS, - "hasSubSelection(docName='',subElement=False) -> bool\n" + "hasSubSelection(docName, subElement=False) -> bool\n" "\n" - "Check if there is any selection with subname.\n" + "Check if there is any selection with subname. If no document name\n" + "is given the active document is used and '*' means all documents.\n" "\n" "docName : str\n Name of the `App.Document`.\n" "subElement : bool"},