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:
commit
54d396ff85
@ -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)):
|
||||||
|
Loading…
Reference in New Issue
Block a user