I usually use the following, shorter way of doing this:
```python
context = context or {}
```

However, the way you have done it makes me wonder if the additional explicitness makes it more readable.