From 99e721cd35a9e71e02345e911324210443f3c3c6 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Wed, 13 May 2020 16:25:51 -0400 Subject: [PATCH] Remove unnecessary object derive --- docs/api-guide/validators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/validators.md b/docs/api-guide/validators.md index 009cd2468..4451489d4 100644 --- a/docs/api-guide/validators.md +++ b/docs/api-guide/validators.md @@ -282,7 +282,7 @@ to your `Serializer` subclass. This is documented in the To write a class-based validator, use the `__call__` method. Class-based validators are useful as they allow you to parameterize and reuse behavior. - class MultipleOf(object): + class MultipleOf: def __init__(self, base): self.base = base