From a1c3fb4aab6354e0b1ceef8a2d8907e45da55e67 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 17 Nov 2024 20:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=AA=20annotations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib_not_dr/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib_not_dr/__init__.py b/src/lib_not_dr/__init__.py index aefdef3..1b27fac 100644 --- a/src/lib_not_dr/__init__.py +++ b/src/lib_not_dr/__init__.py @@ -4,6 +4,9 @@ # All rights reserved # ------------------------------- +from __future__ import annotations +# 兼容 3.8 + from typing import TYPE_CHECKING if TYPE_CHECKING: