Created
August 5, 2009 20:13
-
-
Save mikeal/162920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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