Could this be spelled:

```python
try:
    return mapping[resource][operation]
except KeyError:
    return default
```

I'm not sure if it's *better*. How exceptional is a resource not being in the mapping?