prune
This commit is contained in:
@@ -7,16 +7,7 @@ T = TypeVar("T")
|
|||||||
|
|
||||||
|
|
||||||
class DAGSetView(MutableSet[T]):
|
class DAGSetView(MutableSet[T]):
|
||||||
"""
|
"""A mutable set-like view onto DAG._succ[u], with reverse-index maintenance."""
|
||||||
A mutable set-like view onto DAG._succ[u], with reverse-index maintenance.
|
|
||||||
|
|
||||||
Supports all set update operators:
|
|
||||||
- |= (union_update)
|
|
||||||
- &= (intersection_update)
|
|
||||||
- -= (difference_update)
|
|
||||||
- ^= (symmetric_difference_update)
|
|
||||||
Also supports += as an alias for update for ergonomic batching.
|
|
||||||
"""
|
|
||||||
_data: set[T]
|
_data: set[T]
|
||||||
|
|
||||||
on_add: Callable[[Any], None] | None = None
|
on_add: Callable[[Any], None] | None = None
|
||||||
|
|||||||
Reference in New Issue
Block a user