Skip to content

Commit adc4216

Browse files
committed
cls_checks is a classmethod
1 parent a66eb45 commit adc4216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/validate.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ validation can be enabled by hooking in a format-checking object into an
255255
using the :meth:`FormatChecker.checks` or
256256
:meth:`FormatChecker.cls_checks` decorators respectively.
257257

258-
.. method:: cls_checks(format, raises=())
258+
.. classmethod:: cls_checks(format, raises=())
259259

260260
Register a decorated function as *globally* validating a new format.
261261

0 commit comments

Comments
 (0)