加个 annotations
This commit is contained in:
parent
0e642f8611
commit
a1c3fb4aab
@ -4,6 +4,9 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
# 兼容 3.8
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
Loading…
Reference in New Issue
Block a user