#2620: [patch] Two-argument form of MergeDict.get() fails
------------------------------+---------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian
     Type:  defect            |      Status:  new   
 Priority:  normal            |   Milestone:        
Component:  Metasystem        |     Version:        
 Severity:  normal            |    Keywords:        
------------------------------+---------------------------------------------
 django.utils.datastructures.MergeDict does not behave completely like a
 Python intrinsic dict, because the get() method cannot be called without a
 default argument.
 
 TypeError: get() takes exactly 3 arguments (2 given)
 
 Attached is a patch which fixes this, and adds a unit test for MergeDict.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2620>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to