令参数列表符合 autodoc 格式

This commit is contained in:
hemengyang
2022-01-12 18:25:25 +08:00
parent 4ba1a09fb7
commit a5f32febbd
19 changed files with 361 additions and 361 deletions

View File

@ -51,8 +51,8 @@ class MessageTemplate(Formatter, Generic[TF]):
:参数:
* `template: Union[str, Message]`: 模板
* `factory: Union[str, Message]`: 消息构造类型,默认为 `str`
template: 模板
factory: 消息构造类型,默认为 `str`
"""
self.template: TF = template
self.factory: Type[TF] = factory