=== modified file 'django/http/__init__.py'
      
        
          
        
        
          
            | 
              
             | 
            
              
             | 
            
              
               
             | 
          
        
        
          
            | 121 | 121 |         self._assert_mutable() | 
          
          
            | 122 | 122 |         MultiValueDict.update(self, other_dict) | 
          
          
            | 123 | 123 |  | 
          
        
        
          
            | 124 |   |     def pop(self, key): | 
          
          
            |   | 124 |     def pop(self, key, *args): | 
          
        
        
          
            | 125 | 125 |         self._assert_mutable() | 
          
        
        
          
            | 126 |   |         return MultiValueDict.pop(self, key) | 
          
          
            |   | 126 |         return MultiValueDict.pop(self, key, *args) | 
          
        
        
          
            | 127 | 127 |  | 
          
          
            | 128 | 128 |     def popitem(self): | 
          
          
            | 129 | 129 |         self._assert_mutable() | 
          
        
      
    
    
      
      
=== modified file 'tests/regressiontests/httpwrappers/tests.py'
      
        
          
        
        
          
            | 
              
             | 
            
              
             | 
            
              
               
             | 
          
        
        
          
            | 166 | 166 | >>> q.pop('foo') | 
          
          
            | 167 | 167 | ['bar', 'baz', 'another', 'hello'] | 
          
          
            | 168 | 168 |  | 
          
        
        
          
            |   | 169 | >>> q.pop('foo', 'not there') | 
          
          
            |   | 170 | 'not there' | 
          
          
            |   | 171 |  | 
          
        
        
          
            | 169 | 172 | >>> q.get('foo', 'not there') | 
          
          
            | 170 | 173 | 'not there' | 
          
          
            | 171 | 174 |  |