From 5984889fcf9f408b394f20d7ca8125c992230463 Mon Sep 17 00:00:00 2001 From: Aryan Arora Date: Mon, 20 Mar 2023 18:44:42 +0530 Subject: [PATCH] documentation mistype fix Draft202012Validator.validate instead of Draft20212Validator.validate --- jsonschema/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema/validators.py b/jsonschema/validators.py index e5b780ae..255bdccd 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -1208,7 +1208,7 @@ def validate(instance, schema, cls=None, *args, **kwargs): # noqa: D417 if you intend to validate multiple instances with the same schema, you likely would prefer using the `jsonschema.protocols.Validator.validate` method directly on a - specific validator (e.g. ``Draft20212Validator.validate``). + specific validator (e.g. ``Draft202012Validator.validate``). Arguments: