Remove docstring text of Task.close() that details Task.mark_completed()

This commit is contained in:
Richard Leibrandt 2023-03-08 15:48:30 +01:00
parent 017dc4c784
commit 641a4a2057

View File

@ -1728,8 +1728,6 @@ class Task(_Task):
Enables you to manually shut down the task from the process which opened the task. Enables you to manually shut down the task from the process which opened the task.
This method does not terminate the (current) Python process, in contrast to :meth:`Task.mark_completed`. This method does not terminate the (current) Python process, in contrast to :meth:`Task.mark_completed`.
Note, that if :meth:`Task.mark_completed` is called from a different process it will not terminate
the process from which :meth:`Task.mark_completed` was called, but the process which created the task.
After having :meth:`Task.close` -d a task, the respective object cannot be used anymore and After having :meth:`Task.close` -d a task, the respective object cannot be used anymore and
methods like :meth:`Task.connect` or :meth:`Task.connect_configuration` will throw a `ValueError`. methods like :meth:`Task.connect` or :meth:`Task.connect_configuration` will throw a `ValueError`.