The connection is very obvious after you know about it.
And probably you can guess the meaning if you see an
@once decorator in someone's code. But it's less clear
that a person who hasn't seen the word "once" used
this way will think of searching for it when they want
a way to cache the return value of a function. 
https://docs.python.org/3/library/functools.html#functools.lru_cache
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TQJD6QDVYJA5LOAJ3C2V3BJ5MRFSD3OA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to