From e8a4f7947d278fab57d84155067f0c3c3cdfd818 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 25 Jul 2025 11:24:27 +0500 Subject: [PATCH] sequence.duplicate_task - fix misleading description --- .../ifcopenshell/api/sequence/duplicate_task.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/sequence/duplicate_task.py b/src/ifcopenshell-python/ifcopenshell/api/sequence/duplicate_task.py index 933c6e3c29..afdb6e2521 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/sequence/duplicate_task.py +++ b/src/ifcopenshell-python/ifcopenshell/api/sequence/duplicate_task.py @@ -38,7 +38,10 @@ def duplicate_task( * The copy will have duplicated nested tasks :param task: The task to be duplicated - :return: The duplicated task or the list of duplicated tasks if the latter has children + :return: A tuple that consists of two lists of tasks: + + - Original task and it's nested tasks. + - Their corresponding duplicated tasks. Example: .. code:: python