With appropriate arithmetical gymnastics it could, yes.
```
In [6]: [logging.WARNING, logging.INFO, logging.DEBUG]
Out[6]: [30, 20, 10]
```