From: Georg Brandl Date: Wed, 24 Sep 2008 09:47:55 +0000 (+0000) Subject: Indentation normalization. X-Git-Tag: v2.6~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1379ae02e3c893c01f9a97dc3baa12c9a54a1cab;p=python Indentation normalization. --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index a0a62d1370..bff779be57 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -371,9 +371,9 @@ Encoders and decoders def default(self, o): try: - iterable = iter(o) + iterable = iter(o) except TypeError: - pass + pass else: return list(iterable) return JSONEncoder.default(self, o)