Closed hannahwhy closed 10 years ago
This mimics the behavior of dict.get. It can be useful for contexts where
None
if key in item
This mimics the behavior of dict.get. It can be useful for contexts where
None
is an acceptable "key does not exist" value andif key in item
checks.