From a51025f516496547d8834cd52197858ad3b93237 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 4 Mar 2024 00:24:43 +0800 Subject: [PATCH] some fix --- python/typing.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python/typing.py b/python/typing.py index 90a7fea7..76c3a2ac 100644 --- a/python/typing.py +++ b/python/typing.py @@ -5,7 +5,13 @@ class _Placeholder: return self def __call__(self, *args, **kwargs): return self - + def __and__(self, other): + return self + def __or__(self, other): + return self + def __xor__(self, other): + return self + _PLACEHOLDER = _Placeholder()