Don't need to change but this is handy to know:

```python
>>> d = {'foo': 'bar'}
>>> d.pop('boo')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: 'boo'
>>> d.pop('boo', None)
>>> d.pop('foo', None)
'bar'
>>> d
{}
>>>
```