Skip to content

Commit 46941e3

Browse files
committed
Docstring and minor style.
1 parent 75b2048 commit 46941e3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

jsonschema/validators.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def create(
163163
default_types=None,
164164
type_checker=None,
165165
id_of=_id_of,
166-
format_checker=None
166+
format_checker=None,
167167
):
168168
"""
169169
Create a new validator class.
@@ -214,7 +214,14 @@ def create(
214214
215215
id_of (callable):
216216
217-
A function that given a schema, returns its ID.
217+
a function that given a schema, returns its ID.
218+
219+
format_checker (jsonschema.FormatChecker):
220+
221+
a format checker, used when applying the :validator:`format`
222+
validator.
223+
224+
If unprovided, none will be associated.
218225
219226
Returns:
220227

0 commit comments

Comments
 (0)