#5744: SortedDict init with list of tuples ---------------------------------------------+------------------------------ Reporter: Thomas Güttler <[EMAIL PROTECTED]> | Owner: nobody Status: new | Component: Uncategorized Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ---------------------------------------------+------------------------------ This small patch improves SortedDict. You can give to the constructor a list of tuples. Since dict supports this interface, SortedDict should support it, too.
It is convenient, if you want to give SortedDict some initial data. The patch includes a test. -- Ticket URL: <http://code.djangoproject.com/ticket/5744> Django Code <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 -~----------~----~----~----~------~----~------~--~---
