From 3989f601be5b7d489be090af24726b9ef562ab3b Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 10 Oct 2024 01:11:50 +0800 Subject: [PATCH] :sparkles: first comm --- magicoca/chan.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/magicoca/chan.py b/magicoca/chan.py index f44bfec..2509261 100644 --- a/magicoca/chan.py +++ b/magicoca/chan.py @@ -1,5 +1,5 @@ from multiprocessing import Pipe -from typing import TypeVar, Generic +from typing import TypeVar, Generic, Any T = TypeVar("T") @@ -40,11 +40,9 @@ class Chan(Generic[T]): self.send(other) return self - def __rlshift__(self, other) -> T: + def __rlshift__(self, other: Any) -> T: """ - obj << chan - Args: - other: + << chan Returns: """