mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00: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:
@@ -1,6 +1,6 @@
|
|||||||
class MergeDict(object):
|
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.
|
up values in more than one dictionary, passed in the constructor.
|
||||||
"""
|
"""
|
||||||
def __init__(self, *dicts):
|
def __init__(self, *dicts):
|
||||||
@@ -215,7 +215,7 @@ class MultiValueDict(dict):
|
|||||||
|
|
||||||
def get(self, key, default=None):
|
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.
|
or value is an empty list, then default is returned.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
@@ -228,7 +228,7 @@ class MultiValueDict(dict):
|
|||||||
|
|
||||||
def getlist(self, key):
|
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.
|
then an empty list is returned.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user