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

Merge pull request #2176 from numerodix/master

Fixed typo in docstring.
This commit is contained in:
Tim Graham 2014-01-16 13:47:44 -08:00
commit 54d396ff85

View File

@ -141,7 +141,7 @@ class HttpResponseBase(six.Iterator):
"""Converts headers key/value to ascii/latin-1 native strings.
`charset` must be 'ascii' or 'latin-1'. If `mime_encode` is True and
`value` value can't be represented in the given charset, MIME-encoding
`value` can't be represented in the given charset, MIME-encoding
is applied.
"""
if not isinstance(value, (bytes, six.text_type)):