diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-05-11 15:38:39 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-05-11 15:38:39 -0300 |
commit | 1adc26a6f2b42ffaf2eb9e444dc00afc8947df2a (patch) | |
tree | 8e03386daaf6eb80173a4b6cef89727de2beb0b4 | |
parent | 623d00443bee13c227fdf37ba8843c3233d15328 (diff) | |
download | pint-1adc26a6f2b42ffaf2eb9e444dc00afc8947df2a.tar.gz |
Remove unnecessary import in util
-rw-r--r-- | pint/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pint/util.py b/pint/util.py index 40ea39e..afae829 100644 --- a/pint/util.py +++ b/pint/util.py @@ -38,7 +38,7 @@ from .pint_eval import build_eval_tree from ._typing import Scalar if TYPE_CHECKING: - from ._typing import Quantity, UnitLike, QuantityOrUnitLike + from ._typing import QuantityOrUnitLike from .registry import UnitRegistry @@ -1047,7 +1047,7 @@ def to_units_container( def infer_base_unit( - unit_like: UnitLike | Quantity, registry: UnitRegistry | None = None + unit_like: QuantityOrUnitLike, registry: UnitRegistry | None = None ) -> UnitsContainer: """ Given a Quantity or UnitLike, give the UnitsContainer for it's plain units. |