You're right. I should read it twice before committing.


2013/10/16 Tres Seaver <notifications@github.com>

> In docs/null.rst:
>
> > +   assert deserialized['age'] == None
> > +
> > +   deserialized = schema.deserialize({'name':'Fred', 'age': '19'})
> > +   assert deserialized['age'] == 19
> > +
> > +   serialized = schema.serialize({'name':'Fred', 'age': None})
> > +   assert serialized['age'] == ''
> > +
> > +   serialized = schema.serialize({'name':'Fred', 'age': 19})
> > +   assert serialized['age'] == '19'
> > +
> > +When you use `colander.NoneType` you can pass the results of the deserialization directly to a database,
> > +without converting `colander.null` to None outside the schema. In other words, you have defined in the
> > +schema that the node can have None as value.
> > +
> > +Note: NoneType can be used for strings, because the machinery does not known whether a serialization of `""` is
>
> Should that read "cannot be used for strings"?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Pylons/colander/pull/121/files#r7001230>
> .
>