diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:10:38 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:20:18 -0300 |
commit | 1208b3d503913eabe8ac96db18ee2ad14af1bdd6 (patch) | |
tree | bca861cc05cfd773dbeb4d248dde5d04f0e74c5d /pint | |
parent | f3f2158ac7600e26a32141ec5da7cc69dfb461d7 (diff) | |
download | pint-1208b3d503913eabe8ac96db18ee2ad14af1bdd6.tar.gz |
Apply NEP-29: Pint now requires Python 3.9+ and NumPy 1.21+
Diffstat (limited to 'pint')
-rw-r--r-- | pint/util.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pint/util.py b/pint/util.py index d5f3aab..8b62009 100644 --- a/pint/util.py +++ b/pint/util.py @@ -1020,9 +1020,7 @@ def sized(y) -> bool: return True -@functools.lru_cache( - maxsize=None -) # TODO: replace with cache when Python 3.8 is dropped. +@functools.cache def _build_type(class_name: str, bases): return type(class_name, bases, dict()) |