From 83657ca6781d87aa4f1853c6c3a24ae943222325 Mon Sep 17 00:00:00 2001 From: Jon Wolverton Date: Tue, 29 Sep 2015 20:51:18 -0700 Subject: [PATCH] serialize should pass null through in _many_ cases --- docs/extending.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extending.rst b/docs/extending.rst index 055773c..3646c4b 100644 --- a/docs/extending.rst +++ b/docs/extending.rst @@ -144,7 +144,7 @@ Null Values Both the ``serialize`` and ``deserialize`` methods must be able to receive :attr:`colander.null` values and handle them intelligently. This will happen whenever the data structure being serialized or deserialized -does not provide a value for this node. In most cases, ``serialize`` or +does not provide a value for this node. In many cases, ``serialize`` or ``deserialize`` should just return :attr:`colander.null` when passed :attr:`colander.null`.