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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pint/facets/plain/quantity.py b/pint/facets/plain/quantity.py
index f2b9ae0..8c7c094 100644
--- a/pint/facets/plain/quantity.py
+++ b/pint/facets/plain/quantity.py
@@ -281,9 +281,9 @@ class PlainQuantity(PrettyIPython, SharedRegistryObject, Generic[_MagnitudeType]
def __repr__(self) -> str:
if isinstance(self._magnitude, float):
- return f"<PlainQuantity({self._magnitude:.9}, '{self._units}')>"
+ return f"<Quantity({self._magnitude:.9}, '{self._units}')>"
else:
- return f"<PlainQuantity({self._magnitude}, '{self._units}')>"
+ return f"<Quantity({self._magnitude}, '{self._units}')>"
def __hash__(self) -> int:
self_base = self.to_base_units()