diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-05-01 19:23:47 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-05-01 19:24:18 -0300 |
commit | 556aeea0d363f5757c42296ad66ffe47f05c02b2 (patch) | |
tree | 476472495bd9c623e098aa6b5ee7554fd44387a5 /pint/facets/numpy/registry.py | |
parent | 95f3eaca1129b735cb3eae8702ea857928a05909 (diff) | |
parent | b1c01862a3811f77cca726675b52a32418c4d853 (diff) | |
download | pint-556aeea0d363f5757c42296ad66ffe47f05c02b2.tar.gz |
Merge changes to modernize code from 0.21 to 0.22
See #1751
Diffstat (limited to 'pint/facets/numpy/registry.py')
-rw-r--r-- | pint/facets/numpy/registry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pint/facets/numpy/registry.py b/pint/facets/numpy/registry.py index fa4768f..11d57f3 100644 --- a/pint/facets/numpy/registry.py +++ b/pint/facets/numpy/registry.py @@ -15,5 +15,5 @@ from .unit import NumpyUnit class NumpyRegistry(PlainRegistry): - _quantity_class = NumpyQuantity - _unit_class = NumpyUnit + Quantity = NumpyQuantity + Unit = NumpyUnit |