We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CancelStatus.parent
1 parent ed2a7d3 commit d11481bCopy full SHA for d11481b
src/trio/_core/_run.py
@@ -378,7 +378,7 @@ def parent(self) -> CancelStatus | None:
378
return self._parent
379
380
@parent.setter
381
- def parent(self, parent: CancelStatus) -> None:
+ def parent(self, parent: CancelStatus | None) -> None:
382
if self._parent is not None:
383
self._parent._children.remove(self)
384
self._parent = parent
0 commit comments