0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Edited docstring changes from [6714]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-12-01 19:22:05 +00:00
parent c750f01b48
commit c5a4541f10

View File

@ -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: