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
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class HttpResponseBase(six.Iterator):
"""Converts headers key/value to ascii/latin-1 native strings. """Converts headers key/value to ascii/latin-1 native strings.
`charset` must be 'ascii' or 'latin-1'. If `mime_encode` is True and `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. is applied.
""" """
if not isinstance(value, (bytes, six.text_type)): if not isinstance(value, (bytes, six.text_type)):