令返回符合格式

This commit is contained in:
hemengyang
2022-01-12 18:43:07 +08:00
parent 456d333568
commit 187532930b
11 changed files with 20 additions and 232 deletions

View File

@ -137,9 +137,8 @@ class Message(List[TMS], abc.ABC):
参数:
format_string: 格式化字符串
:返回:
- `MessageFormatter[TM]`: 消息格式化器
返回:
MessageFormatter[TM]: 消息格式化器
"""
return MessageTemplate(format_string, cls)