7 lines
90 B
Python
7 lines
90 B
Python
|
from functools import lru_cache
|
||
|
|
||
|
|
||
|
@lru_cache(10)
|
||
|
def log_once(log, msg:str):
|
||
|
log(msg)
|