mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Tentative: fix for ParamSpec on Python < 3.10
Alternate solution is to remove the callable typing on CallAfter and CallLater
This commit is contained in:
@@ -84,6 +84,10 @@ from enum import IntEnum, IntFlag, auto
|
||||
from typing import (Any, overload, TypeAlias, TypeVar, ParamSpec, Generic,
|
||||
Union, Optional, List, Tuple, Callable
|
||||
)
|
||||
try:
|
||||
from typing import ParamSpec
|
||||
except ImportError:
|
||||
from typing_extensions import ParamSpec
|
||||
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user