mirror of
https://github.com/django/django.git
synced 2025-09-30 05:55:01 +00:00
Fixed typo in docstring.
This commit is contained in:
parent
cd69db68cf
commit
63ff03c4ec
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue