Skip to content

Commit b68a3eb

Browse files
committed
make trio._core._run.Task slotted
1 parent c12b4e7 commit b68a3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trio/_core/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ def __del__(self):
10601060
################################################################
10611061

10621062

1063-
@attr.s(eq=False, hash=False, repr=False)
1063+
@attr.s(eq=False, hash=False, repr=False, slots=True)
10641064
class Task(metaclass=NoPublicConstructor):
10651065
_parent_nursery = attr.ib()
10661066
coro = attr.ib()

0 commit comments

Comments
 (0)