From 7af02be07b1e1d9c13340dd67e2e2547ac874d89 Mon Sep 17 00:00:00 2001 From: RF-Tar-Railt Date: Sat, 23 Nov 2024 14:59:23 +0800 Subject: [PATCH] :art: format --- src/nonebot_plugin_alconna/params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nonebot_plugin_alconna/params.py b/src/nonebot_plugin_alconna/params.py index 1f3b74c..570cec2 100644 --- a/src/nonebot_plugin_alconna/params.py +++ b/src/nonebot_plugin_alconna/params.py @@ -103,13 +103,13 @@ def AlconnaDuplication() -> Duplication: ... @overload -def AlconnaDuplication(__t: type[T_Duplication]) -> T_Duplication: ... +def AlconnaDuplication(_t: type[T_Duplication]) -> T_Duplication: ... -def AlconnaDuplication(__t: Optional[type[T_Duplication]] = None) -> Duplication: +def AlconnaDuplication(_t: Optional[type[T_Duplication]] = None) -> Duplication: def _alconna_match(state: T_State) -> Duplication: res = _alconna_result(state) - gt = __t or generate_duplication(res.source) + gt = _t or generate_duplication(res.source) return gt(res.result) return Depends(_alconna_match, use_cache=False)