1
0
forked from bot/app

📦 docs: 资源商店新增发布资源功能

This commit is contained in:
2024-09-17 14:37:45 +08:00
parent 72e71124b8
commit b5b15c82f8
10 changed files with 401 additions and 44 deletions

20
liteyuki_flow/typ.py Normal file
View File

@ -0,0 +1,20 @@
"""
Module docs
"""
from typing import TypeAlias
class Nil():
def __eq__(self, other):
if isinstance(other, Nil):
return True
return other is None
# 不等于
def __ne__(self, other):
return not self.__eq__(other)
nil = Nil()
err: TypeAlias = Exception | Nil