def _get_memoized_value(func, args, kwargs):
key = (repr(args), repr(kwargs))<EOL>if not key in func._cache_dict:<EOL><INDENT>ret = func(*args, **kwargs)<EOL>func._cache_dict[key] = ret<EOL><DEDENT>return func._cache_dict[key]<EOL>
Used internally by memoize decorator to get/store function results