Skip to content
Browse files

[1.0.X] Fixed #10954 -- Corrected error in docs example describing ex…

…tending the JSON serializer. Thanks to Glenn for the report.

Merge of r10654 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d22290b commit 5f730ded91dde9720e0219af8c1c7c15fe11b6f8 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/serialization.txt
2 docs/topics/serialization.txt
@@ -181,6 +181,6 @@ this will work::
def default(self, obj):
if isinstance(obj, Promise):
return force_unicode(obj)
- return obj
+ return super(LazyEncoder, self).default(obj)
.. _special encoder:

0 comments on commit 5f730de

Please sign in to comment.
Something went wrong with that request. Please try again.