def __getitem__(self, key):
return self.get(key)<EOL>
>>> cache = Cache(log_level=logging.WARNING)
>>> cache.put('a', 0)
>>> cache['a']
0
>>> cache.put('b', 1)
>>> cache['b']
1
>>> cache['c'] == None
True