Skip to content

Commit 6245c16

Browse files
committed
Minor style.
1 parent 6a5f703 commit 6245c16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/validate.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,9 @@ validation can be enabled by hooking in a format-checking object into an
277277

278278
>>> validate("localhost", {"format" : "hostname"})
279279
>>> validate(
280-
... "-12", {"format" : "hostname"}, format_checker=FormatChecker(),
280+
... instance="-12",
281+
... schema={"format" : "hostname"},
282+
... format_checker=FormatChecker(),
281283
... )
282284
Traceback (most recent call last):
283285
...

0 commit comments

Comments
 (0)