#20466: Idiomatic Python: use lists instead of tuples where appropriate
--------------------------------------+--------------------
     Reporter:  patrys                |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20466>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to