From ea13783e871050d4d9fe7af159cc235116e79d1d Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Mon, 22 Aug 2022 23:15:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=8B=E5=89=8D=E7=9A=84=E9=82=A3=E7=8E=A9?= =?UTF-8?q?=E6=84=8F=E4=BC=BC=E4=B9=8E=E4=BC=9A=E5=9C=A8py3.8=E5=B4=A9?= =?UTF-8?q?=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit typing你做的好啊( --- Difficult_Rocket/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Difficult_Rocket/__init__.py b/Difficult_Rocket/__init__.py index 17c45b2..c003918 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -40,7 +40,7 @@ class Options: values[option] = getattr(self, option) return values - def option_with_len(self) -> list[list[Tuple[str, Any, Any]] | int | Any]: + def option_with_len(self) -> List[Union[List[Tuple[str, Any, Any]], int, Any]]: options = self.option() max_len_key = 1 max_len_value = 1