Idiomatic Python: use lists instead of tuples where appropriate
|Reported by:||Patryk Zawadzki||Owned by:||Patryk Zawadzki|
|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
|Owner:||changed from nobody to Patryk Zawadzki|
|Patch needs improvement:||unset|
|Status:||new → assigned|