Skip to content

Commit

Permalink
Make EventStream final
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmauve committed Apr 30, 2021
1 parent cae934a commit c84e9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def statistics(self):


@attr.s
class EventStream:
class EventStream(metaclass=Final):
"""A concurrency primitive for a sequence of events.
Multiple tasks can subscribe for events on the stream using an ``async
Expand Down

0 comments on commit c84e9dd

Please sign in to comment.