Remove unnecessary object derive

This commit is contained in:
johnthagen 2020-05-13 16:25:51 -04:00 committed by GitHub
parent b247d9320b
commit 99e721cd35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. 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): def __init__(self, base):
self.base = base self.base = base