diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-12-01 19:22:05 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-12-01 19:22:05 +0000 |
| commit | c5a4541f102014dadc5ac23e902933289abb1fe7 (patch) | |
| tree | dca55c8f239a6bd0a0bbe2115c8a00fa9a6efb5f | |
| parent | c750f01b48ac9d541067dd86a2ab31e1141639cc (diff) | |
Edited docstring changes from [6714]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/utils/datastructures.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index ee156b11d0..25e9421575 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -1,6 +1,6 @@ class MergeDict(object): """ - A simple class for creating new "virtual" dictionaries that actualy look + A simple class for creating new "virtual" dictionaries that actually look up values in more than one dictionary, passed in the constructor. """ def __init__(self, *dicts): @@ -215,7 +215,7 @@ class MultiValueDict(dict): def get(self, key, default=None): """ - Returns the last data value for the passed key. If key doesn't exist + Returns the last data value for the passed key. If key doesn't exist or value is an empty list, then default is returned. """ try: @@ -228,7 +228,7 @@ class MultiValueDict(dict): def getlist(self, key): """ - Returns the list of values for the passed key. If key doesn't exist, + Returns the list of values for the passed key. If key doesn't exist, then an empty list is returned. """ try: |
