diff --git a/UPGRADING.rst b/UPGRADING.rst index 305d5c8f..855dfcd4 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -14,7 +14,7 @@ allows a more detailed and flexible handling. Make sure you have look on Also, :attr:`~cerberus.Validator.errors` (as provided by the default :class:`~cerberus.errors.BasicErrorHandler`) values are lists containing error messages, and possibly a ``dict`` as last item containing nested errors. -Previously, they were strings if single errors per field occured; lists +Previously, they were strings if single errors per field occurred; lists otherwise. @@ -60,9 +60,8 @@ keyschema & valueschema To reflect the common terms in the Pythoniverse [#]_, the rule for validating all *values* of a :term:`mapping` was renamed from ``keyschema`` to -``valueschema`` (:ref:`docs `). Furthermore a rule was -implemented to validate all *keys*, introduced as ``propertyschema``, now -renamed to ``keyschema`` (:ref:`docs `). This means code +``valueschema``. Furthermore a rule was implemented to validate all *keys*, +introduced as ``propertyschema``, now renamed to ``keyschema``. This means code using prior versions of cerberus would not break, but bring up wrong results! To update your code you may adapt cerberus' iteration: diff --git a/docs/customize.rst b/docs/customize.rst index 741b3693..780e5af1 100644 --- a/docs/customize.rst +++ b/docs/customize.rst @@ -114,7 +114,7 @@ They can also be defined for subclasses of :class:`~cerberus.Validator`: Added the :attr:`~cerberus.Validator.types_mapping` property and marked methods for testing types as deprecated. -.. _validator-rule-methods: +.. _check-with-rule-methods: Methods that can be referenced by the check_with rule -----------------------------------------------------