Idiomatic Python: use lists instead of tuples where appropriate
|Reported by:||patrys||Owned by:||patrys|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently most of the documented lists are actually tuples. This is uncalled for and not really pythonic.
Python authors have already stated that tuple was not a frozen list. Let's stick to using tuples where tuples fit, eg. where a namedtuple could be used instead but would be an overkill.
Change History (7)
comment:1 Changed 3 years ago by patrys
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to patrys
- Patch needs improvement unset
- Status changed from new to assigned