Skip to content

Commit

Permalink
Merge a21abe0 into 6754c74
Browse files Browse the repository at this point in the history
  • Loading branch information
belm0 authored Apr 5, 2021
2 parents 6754c74 + a21abe0 commit ef3f94e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trio/_core/_parking_lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class _ParkingLotStatistics:
tasks_waiting = attr.ib()


@attr.s(eq=False, hash=False)
@attr.s(eq=False, hash=False, slots=True)
class ParkingLot(metaclass=Final):
"""A fair wait queue with cancellation and requeueing.
Expand Down
2 changes: 1 addition & 1 deletion trio/_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ._util import Final


@attr.s(repr=False, eq=False, hash=False)
@attr.s(repr=False, eq=False, hash=False, slots=True)
class Event(metaclass=Final):
"""A waitable boolean value useful for inter-task synchronization,
inspired by :class:`threading.Event`.
Expand Down

0 comments on commit ef3f94e

Please sign in to comment.