Fix IfcOpenShell-Python on Python 3.10

Elipsis is not allowed for generic typing
This commit is contained in:
Dion Moult
2025-02-10 17:26:03 +11:00
parent cb027c80f9
commit 1d2214efd9
@@ -44,7 +44,7 @@ if TYPE_CHECKING:
VectorType = Union[Sequence[float], Vector, np.ndarray] VectorType = Union[Sequence[float], Vector, np.ndarray]
else: else:
# Ensure it's exportable, so other modules can reuse it for typing. # Ensure it's exportable, so other modules can reuse it for typing.
VectorType = ... VectorType = Any
SequenceOfVectors = Union[Sequence[VectorType], np.ndarray] SequenceOfVectors = Union[Sequence[VectorType], np.ndarray]