summaryrefslogtreecommitdiff
path: root/pint/facets/plain/quantity.py
diff options
context:
space:
mode:
Diffstat (limited to 'pint/facets/plain/quantity.py')
-rw-r--r--pint/facets/plain/quantity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pint/facets/plain/quantity.py b/pint/facets/plain/quantity.py
index 6098edb..2f3de43 100644
--- a/pint/facets/plain/quantity.py
+++ b/pint/facets/plain/quantity.py
@@ -394,7 +394,7 @@ class PlainQuantity(Generic[MagnitudeT], PrettyIPython, SharedRegistryObject):
def from_tuple(cls, tup):
return cls(tup[0], cls._REGISTRY.UnitsContainer(tup[1]))
- def to_tuple(self) -> tuple[MagnitudeT, tuple[tuple[str]]]:
+ def to_tuple(self) -> tuple[MagnitudeT, tuple[tuple[str, ...]]]:
return self.m, tuple(self._units.items())
def compatible_units(self, *contexts):