diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-28 17:39:14 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-28 17:39:14 -0700 |
| commit | 1dcc603efff8229838f27019668d864a0bcbfa59 (patch) | |
| tree | 8c67764f440faeb095143498383ca57ecd4f09be /django/utils | |
| parent | e79725cdf90e3271626ed66f70b63640d3fcc521 (diff) | |
Fixed several typos in Django
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/ipv6.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/ipv6.py b/django/utils/ipv6.py index 675448f6f8..02e3b7208c 100644 --- a/django/utils/ipv6.py +++ b/django/utils/ipv6.py @@ -9,7 +9,7 @@ from django.utils.six.moves import xrange def clean_ipv6_address(ip_str, unpack_ipv4=False, error_message=_("This is not a valid IPv6 address.")): """ - Cleans a IPv6 address string. + Cleans an IPv6 address string. Validity is checked by calling is_valid_ipv6_address() - if an invalid address is passed, ValidationError is raised. @@ -90,7 +90,7 @@ def clean_ipv6_address(ip_str, unpack_ipv4=False, def _sanitize_ipv4_mapping(ip_str): """ - Sanitize IPv4 mapping in a expanded IPv6 address. + Sanitize IPv4 mapping in an expanded IPv6 address. This converts ::ffff:0a0a:0a0a to ::ffff:10.10.10.10. If there is nothing to sanitize, returns an unchanged |
