What is a function parameter =[] for?

Steven D'Aprano steve at pearwood.info
Sun Nov 22 18:44:24 EST 2015


On Mon, 23 Nov 2015 12:21 am, BartC wrote:

> But if it's used for static storage, then why not just use static
> storage? That's a simpler and more general concept than memoisation.

/head-desk

"But if it's used for cooking, why not just cook? That's a simpler and more
general concept than roasting."



-- 
Steven




More information about the Python-list mailing list