diff --git a/README.rst b/README.rst index fb077df..6610516 100644 --- a/README.rst +++ b/README.rst @@ -267,7 +267,7 @@ Additional object properties ############################ Any properties that are not specified as either required or optional are allowed -by default. This default can be overriden by calling ``parsing`` with +by default. This default can be overridden by calling ``parsing`` with ``additional_properties=`` - ``False`` to disallow all additional properties diff --git a/valideer/base.py b/valideer/base.py index 0a4daa0..eca488a 100644 --- a/valideer/base.py +++ b/valideer/base.py @@ -253,7 +253,7 @@ def is_valid(self, value): def error(self, value): """Helper method that can be called when ``value`` is deemed invalid. - Can be overriden to provide customized :py:exc:`ValidationError` subclasses. + Can be overridden to provide customized :py:exc:`ValidationError` subclasses. """ raise ValidationError("must be %s" % self.humanized_name, value)