Files @ 0c78bfbee218
Branch filter:

Location: Shamira/src/shamira/util.py

Laman
compatibility with python<3.9
1
2
3
4
5
6
7
try:
	from functools import cache
except ImportError:  # Python<3.9
	from functools import lru_cache

	def cache(f):
		return lru_cache(maxsize=None)(f)