调整缩进

This commit is contained in:
hemengyang
2022-01-12 19:10:29 +08:00
parent 6d21cbed55
commit 0e97022d3b
18 changed files with 309 additions and 319 deletions

View File

@ -34,7 +34,7 @@ def escape_tag(s: str) -> str:
用于记录带颜色日志时转义 `<tag>` 类型特殊标签
参数:
s: 需要转义的字符串
s: 需要转义的字符串
"""
return re.sub(r"</?((?:[fb]g\s)?[^<>\s]*)>", r"\\\g<0>", s)
@ -86,7 +86,7 @@ def run_sync(call: Callable[P, R]) -> Callable[P, Awaitable[R]]:
一个用于包装 sync function 为 async function 的装饰器
参数:
call: 被装饰的同步函数
call: 被装饰的同步函数
"""
@wraps(call)