Edited docs/request_response.txt change from [6155]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-14 04:12:02 +00:00
parent e86d35879f
commit 6767849212
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ subclass of dictionary. Exceptions are outlined here:
* ``__getitem__(key)`` -- Returns the value for the given key. If the key
has more than one value, ``__getitem__()`` returns the last value.
Raises ``django.utils.datastructure.MultiValueDictKeyError`` if the key
does not exist (fortunately, this is a subclass of Python's standard
``KeyError``, so you can stick to catching ``KeyError``).
does not exist. (This is a subclass of Python's standard ``KeyError``,
so you can stick to catching ``KeyError``.)
* ``__setitem__(key, value)`` -- Sets the given key to ``[value]``
(a Python list whose single element is ``value``). Note that this, as