py_wlc.utils package

Module contents

General useful functionality.

py_wlc.utils.memo(func)[source]

Memoizing decorator for caching function results.

Note

Currently only implemented for hashable positional arguments.

Parameters:func (callable) – The function to decorate.
Returns:The decorated function.
Return type:callable