bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#… · python/cpython@22b1128 (original) (raw)

Original file line number Diff line number Diff line change
@@ -216,7 +216,7 @@ Future
216 216 raise an exception when the future isn't done yet.
217 217
218 218 - Callbacks registered with :meth:`add_done_callback` are always called
219 - via the event loop's :meth:`~AbstractEventLoop.call_soon_threadsafe`.
219 + via the event loop's :meth:`~AbstractEventLoop.call_soon`.
220 220
221 221 - This class is not compatible with the :func:`~concurrent.futures.wait` and
222 222 :func:`~concurrent.futures.as_completed` functions in the