mirror of
https://github.com/LiteyukiStudio/magicoca.git
synced 2024-11-15 05:14:24 +08:00
✨ first comm
This commit is contained in:
parent
e55b07d17b
commit
3989f601be
@ -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:
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user