diff options
| author | Maxime Lorant <maxime.lorant@gmail.com> | 2015-08-31 22:14:35 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-08-31 17:37:21 -0400 |
| commit | 5153a3bfdcec82324d67ff79862384288cf6afe6 (patch) | |
| tree | a03c5ee4bdf3b5b6529df479fbac123a3065d82a /django/http | |
| parent | d4b10a725614322769a419180039771634a06571 (diff) | |
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'django/http')
| -rw-r--r-- | django/http/request.py | 2 | ||||
| -rw-r--r-- | django/http/response.py | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/django/http/request.py b/django/http/request.py index 938d833551..b50392abd2 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -457,7 +457,6 @@ class QueryDict(MultiValueDict): 'next=%2Fa%26b%2F' >>> q.urlencode(safe='/') 'next=/a%26b/' - """ output = [] if safe: @@ -524,7 +523,6 @@ def validate_host(host, allowed_hosts): already had the port, if any, stripped off. Return ``True`` for a valid host, ``False`` otherwise. - """ host = host[:-1] if host.endswith('.') else host diff --git a/django/http/response.py b/django/http/response.py index b42f0b51d3..3365cdbdca 100644 --- a/django/http/response.py +++ b/django/http/response.py @@ -173,7 +173,6 @@ class HttpResponseBase(six.Iterator): - a naive ``datetime.datetime`` object in UTC, - an aware ``datetime.datetime`` object in any time zone. If it is a ``datetime.datetime`` object then ``max_age`` will be calculated. - """ value = force_str(value) self.cookies[key] = value |
