ref: 41367329f9145f23e912a521eccee3d0e2131c93
parent: 7bb7bf23e83e2c3f870b92d31d25ddc917aeb04f
author: Snesrev <snesrev@protonmail.com>
date: Sun Oct 16 23:15:34 EDT 2022
Error while running python scripts on Python 3.6.9 (Fixes #152)
--- a/tables/util.py
+++ b/tables/util.py
@@ -4,7 +4,7 @@
import os
from functools import lru_cache
-def cache(user_function, /):
+def cache(user_function):
'Simple lightweight unbounded cache. Sometimes called "memoize".'
return lru_cache(maxsize=None)(user_function)