File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
To better reflect the underlying thread handling semantics,
2
2
`trio.to_thread.run_sync ` gained a new keyword argument ``abandon_on_cancel ``
3
- that overrides the older (now deprecated) ``cancellable `` flag.
3
+ that overrides the older ``cancellable `` flag.
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ async def to_thread_run_sync( # type: ignore[misc]
200
200
arguments, use :func:`functools.partial`.
201
201
abandon_on_cancel (bool): Whether to abandon this thread upon
202
202
cancellation of this operation. See discussion below.
203
- cancellable (bool): *Deprecated* synonym for ``abandon_on_cancel``.
203
+ cancellable (bool): Synonym for ``abandon_on_cancel``.
204
204
Providing a value to ``abandon_on_cancel`` overrides this argument.
205
205
thread_name (str): Optional string to set the name of the thread.
206
206
Will always set `threading.Thread.name`, but only set the os name
You can’t perform that action at this time.
0 commit comments