diff --git a/colander/__init__.py b/colander/__init__.py index 8bddfd6b..728eceba 100644 --- a/colander/__init__.py +++ b/colander/__init__.py @@ -1399,7 +1399,7 @@ class Number(SchemaType): num = None def serialize(self, node, appstruct): - if appstruct is null: + if appstruct in (null, None): return null try: