Fix @functools.cache . It's available since Python 3.9

This commit is contained in:
Gustavo Moreira
2024-08-04 14:40:45 +10:00
parent cc04f665e3
commit 3e75c2ae9d
@@ -1965,7 +1965,7 @@ class address_space(objects.StructType):
class page(objects.StructType):
@property
@functools.cache
@functools.lru_cache()
def pageflags_enum(self) -> Dict:
"""Returns 'pageflags' enumeration key/values