diff options
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | docs/creating.rst | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -74,7 +74,7 @@ Features and `Draft 3 <https://python-jsonschema.readthedocs.io/en/latest/validate/#jsonschema.Draft3Validator>`_ -* `Lazy validation <https://python-jsonschema.readthedocs.io/en/latest/validate/#jsonschema.Validator.iter_errors>`_ +* `Lazy validation <https://python-jsonschema.readthedocs.io/en/latest/validate/#jsonschema.protocols.Validator.iter_errors>`_ that can iteratively report *all* validation errors. * `Programmatic querying <https://python-jsonschema.readthedocs.io/en/latest/errors/>`_ diff --git a/docs/creating.rst b/docs/creating.rst index b77edc4..810293f 100644 --- a/docs/creating.rst +++ b/docs/creating.rst @@ -27,7 +27,8 @@ where in the instance or schema respectively the error occurred. The Validator Protocol ---------------------- -``jsonschema`` defines a `protocol <typing.Protocol>`, `jsonschema.protocols.Validator` which -can be used in type annotations to describe the type of a validator object. +``jsonschema`` defines a `protocol <typing.Protocol>`, +`jsonschema.protocols.Validator` which can be used in type annotations to +describe the type of a validator object. For full details, see `validator-protocol`. |