diff --git a/docs/binding.rst b/docs/binding.rst index 8bea5e2..1901ca5 100644 --- a/docs/binding.rst +++ b/docs/binding.rst @@ -222,7 +222,7 @@ This can be useful for adding and removing children from schema nodes: ) blog_schema = BlogPostSchema(after_bind=maybe_remove_date) - blog_schema = blog_schema.bind({'use_date':False}) + blog_schema = blog_schema.bind(use_date=False) An ``after_bind`` callback is called after a clone of this node has bound all of its values successfully. The above example removes the