From ffbac23432ea2337bcfd85689911a7ddb5ace0a3 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 9 May 2021 17:33:46 +0200 Subject: [PATCH] Draft: Improve docs for get_group_contents spaces parameter The documentation suggested subtly different semantics from what the code implements. --- src/Mod/Draft/draftutils/groups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/draftutils/groups.py b/src/Mod/Draft/draftutils/groups.py index d8fd3761ac..c1557fb552 100644 --- a/src/Mod/Draft/draftutils/groups.py +++ b/src/Mod/Draft/draftutils/groups.py @@ -197,8 +197,8 @@ def get_group_contents(objectslist, spaces: bool, optional It defaults to `False`. - If it is `True`, Arch Spaces are treated as groups, - and are added to the output list. + If it is `True`, Arch Spaces are added to the output list even + when addgroups is False (their contents are always added). noarchchild: bool, optional It defaults to `False`.