Ticket #10954: fix-serializer-example-code.diff
File fix-serializer-example-code.diff, 526 bytes (added by , 16 years ago) |
---|
-
docs/topics/serialization.txt
187 187 def default(self, obj): 188 188 if isinstance(obj, Promise): 189 189 return force_unicode(obj) 190 return obj190 return super(LazyEncoder, self).default(obj) 191 191 192 192 .. _special encoder: http://svn.red-bean.com/bob/simplejson/tags/simplejson-1.7/docs/index.html 193 193