#15812: SortedDict.update() should accept tuples or generators
-------------------------+-----------------------------
Reporter: slinkp | Owner: nobody
Type: New feature | Status: new
Milestone: | Component: Core (Other)
Version: SVN | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 1 |
-------------------------+-----------------------------
dict.update() accepts dictionaries, tuples of pairs, lists of pairs, or
any generator of pairs.
But SortedDict.update() only accepts dicts.
This patch fixes that. With test.
--
Ticket URL: <http://code.djangoproject.com/ticket/15812>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.