From f4e63465deac6351a20448a5a90947d421f7ee6d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 23 Oct 2023 17:47:55 -0400 Subject: [PATCH] Tweak `Channel._cancel_called` comment --- tractor/_ipc.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tractor/_ipc.py b/tractor/_ipc.py index a022908..7c99467 100644 --- a/tractor/_ipc.py +++ b/tractor/_ipc.py @@ -294,9 +294,11 @@ class Channel: self._agen = self._aiter_recv() self._exc: Optional[Exception] = None # set if far end actor errors self._closed: bool = False - # flag set on ``Portal.cancel_actor()`` indicating - # remote (peer) cancellation of the far end actor runtime. - self._cancel_called: bool = False # set on ``Portal.cancel_actor()`` + + # flag set by ``Portal.cancel_actor()`` indicating remote + # (possibly peer) cancellation of the far end actor + # runtime. + self._cancel_called: bool = False @classmethod def from_stream(