令参数符合标准

This commit is contained in:
hemengyang
2022-01-12 18:31:12 +08:00
parent a5f32febbd
commit 456d333568
17 changed files with 85 additions and 170 deletions

View File

@ -41,8 +41,7 @@ class BlockDriver(Driver):
"""
注册一个启动时执行的函数
:参数:
参数:
func
"""
self.startup_funcs.add(func)
@ -53,8 +52,7 @@ class BlockDriver(Driver):
"""
注册一个停止时执行的函数
:参数:
参数:
func
"""
self.shutdown_funcs.add(func)