diff --git a/ilpy/_functional.py b/ilpy/_functional.py index 73f1dec..73b6a08 100644 --- a/ilpy/_functional.py +++ b/ilpy/_functional.py @@ -1,7 +1,7 @@ from __future__ import annotations from collections.abc import Iterable, Mapping, Sequence -from typing import TYPE_CHECKING, Callable, Literal, Tuple +from typing import TYPE_CHECKING, Callable, Literal from .expressions import Expression from .wrapper import ( @@ -15,7 +15,7 @@ ) if TYPE_CHECKING: - ConstraintTuple = Tuple[list[float], Relation | str, float] + ConstraintTuple = tuple[list[float], Relation | str, float] SenseType = Sense | Literal["minimize", "maximize"] VariableTypeType = VariableType | Literal["continuous", "binary", "integer"] PreferenceType = Preference | Literal["any", "cplex", "gurobi", "scip"]