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.
2 parents ab6c9bd + d11481b commit d7cb2fcCopy full SHA for d7cb2fc
src/trio/_core/_run.py
@@ -394,7 +394,7 @@ def parent(self) -> CancelStatus | None:
394
return self._parent
395
396
@parent.setter
397
- def parent(self, parent: CancelStatus) -> None:
+ def parent(self, parent: CancelStatus | None) -> None:
398
if self._parent is not None:
399
self._parent._children.remove(self)
400
self._parent = parent
0 commit comments