Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def autodoc_process_signature(
logger = getLogger("trio")
UNDOCUMENTED = {
"trio._subprocess.HasFileno.fileno",
"trio.lowlevel.ParkingLot.broken_by",
}


Expand Down
1 change: 1 addition & 0 deletions src/trio/_core/_parking_lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class ParkingLot:
# items
_parked: OrderedDict[Task, None] = attrs.field(factory=OrderedDict, init=False)
broken_by: list[Task] = attrs.field(factory=list, init=False)
"""The tasks that have broken this parking lot."""

def __len__(self) -> int:
"""Returns the number of parked tasks."""
Expand Down
Loading