On this page
  1. asyncio.future_discard_from_awaited_by
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

asyncio.future_discard_from_awaited_by

Prev: asyncio.future_add_to_awaited_by | Up: asyncio | Next: asyncio.FutureCallGraph
Rel: asyncio.AbstractEventLoop, asyncio.AbstractServer, asyncio.all_tasks, asyncio.as_completed
Ref: docs.python.org — asyncio.future_discard_from_awaited_by
Tags: #public #python3 #stdlib #asyncio


Import

import asyncio
from asyncio import future_discard_from_awaited_by

Signature & Overview

asyncio.future_discard_from_awaited_by(fut, waiter, /)

asyncio.future_discard_from_awaited_by() function.

Usage

import asyncio

# Python 3.14+ counterpart to future_add_to_awaited_by()
assert hasattr(asyncio, "future_discard_from_awaited_by")

Gotchas

REPL Inspect

from asyncio import future_discard_from_awaited_by
help(future_discard_from_awaited_by)

Linked from

Related notes