The problem is that an empty list (or tuple) of dimensions should probably be interpreted as "sum over no dimensions" instead of "sum over all dimensions". Compare:
```python
import numpy as np
x = np.arange(10)
print x.mean(axis=None)
print x.mean(axis=())
```