Skip to content

Instantly share code, notes, and snippets.

@mikeal

mikeal/gist:162920

Created Aug 5, 2009
Embed
What would you like to do?
class Cache(dict):
lambda get(*args, **kwargs): dict.__getitem__(*args, **kwargs)
lambda set(*args, **kwargs): dict.__setitem__(*args, **kwargs)
lambda del(*args, **kwargs): dict.__delitem__(*args, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment