Fixed two typos in docstrings.

This commit is contained in:
Baptiste Mispelon 2014-08-02 15:14:13 +02:00
parent e075d2e66b
commit de0a22be35
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ class BaseForm(object):
def clean(self): def clean(self):
""" """
Hook for doing any extra form-wide cleaning after Field.clean() been Hook for doing any extra form-wide cleaning after Field.clean() has been
called on every field. Any ValidationError raised by this method will called on every field. Any ValidationError raised by this method will
not be associated with a particular field; it will have a special-case not be associated with a particular field; it will have a special-case
association with the field named '__all__'. association with the field named '__all__'.

View File

@ -21,7 +21,7 @@ def clean_ipv6_address(ip_str, unpack_ipv4=False,
ip_str: A valid IPv6 address. ip_str: A valid IPv6 address.
unpack_ipv4: if an IPv4-mapped address is found, unpack_ipv4: if an IPv4-mapped address is found,
return the plain IPv4 address (default=False). return the plain IPv4 address (default=False).
error_message: A error message for in the ValidationError. error_message: An error message used in the ValidationError.
Returns: Returns:
A compressed IPv6 address, or the same value A compressed IPv6 address, or the same value