Changeset 5289
- Timestamp:
- 05/19/07 13:34:00 (1 year ago)
- Files:
-
- django/trunk/django/http/__init__.py (modified) (1 diff)
- django/trunk/tests/regressiontests/httpwrappers/tests.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/http/__init__.py
r5187 r5289 122 122 MultiValueDict.update(self, other_dict) 123 123 124 def pop(self, key ):125 self._assert_mutable() 126 return MultiValueDict.pop(self, key )124 def pop(self, key, *args): 125 self._assert_mutable() 126 return MultiValueDict.pop(self, key, *args) 127 127 128 128 def popitem(self): django/trunk/tests/regressiontests/httpwrappers/tests.py
r5187 r5289 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'
