mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
sequence.duplicate_task - fix misleading description
This commit is contained in:
@@ -38,7 +38,10 @@ def duplicate_task(
|
|||||||
* The copy will have duplicated nested tasks
|
* The copy will have duplicated nested tasks
|
||||||
|
|
||||||
:param task: The task to be duplicated
|
: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:
|
Example:
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|||||||
Reference in New Issue
Block a user