summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/faq.rst6
-rw-r--r--jsonschema/__init__.py5
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 8eb9adf..ec34f71 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -104,7 +104,7 @@ How do I configure a base URI for $ref resolution using local files?
`jsonschema` supports loading schemas from the filesystem.
-The most common mistake when configuring a :class:`~jsonschema.RefResolver`
+The most common mistake when configuring a `jsonschema.validators.RefResolver`
to retrieve schemas from the local filesystem is to give it a base URI
which points to a directory, but forget to add a trailing slash.
@@ -212,8 +212,8 @@ be valid under the schema.)
See the above-linked document for more info on how this works,
but basically, it just extends the :kw:`properties` keyword on a
-`jsonschema.Draft202012Validator` to then go ahead and update all the
-defaults.
+`jsonschema.validators.Draft202012Validator` to then go ahead and update
+all the defaults.
.. note::
diff --git a/jsonschema/__init__.py b/jsonschema/__init__.py
index 75f2946..7e3b91e 100644
--- a/jsonschema/__init__.py
+++ b/jsonschema/__init__.py
@@ -4,8 +4,9 @@ An implementation of JSON Schema for Python
The main functionality is provided by the validator classes for each of the
supported JSON Schema versions.
-Most commonly, `validate` is the quickest way to simply validate a given
-instance under a schema, and will create a validator for you.
+Most commonly, `jsonschema.validators.validate` is the quickest way to simply
+validate a given instance under a schema, and will create a validator
+for you.
"""
import warnings