@decorator syntax is sugar, but for what exactly? (decorator libraries).

Skip Montanaro skip at pobox.com
Wed Aug 11 20:38:49 CEST 2004


    Minor typo - I think the references to martha.memo[key] in _inner should
    be to martha.memo[func][key], enabling you to prevent different memoized
    functions' results from clashing when they were called with the same
    parameters.

Thanks for the correction.

Skip



More information about the Python-list mailing list