]> granicus.if.org Git - python/commitdiff
Indentation normalization.
authorGeorg Brandl <georg@python.org>
Wed, 24 Sep 2008 09:47:55 +0000 (09:47 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 24 Sep 2008 09:47:55 +0000 (09:47 +0000)
Doc/library/json.rst

index a0a62d1370189d1474d34d7ee0882baf392cd3da..bff779be57e4c98ef8f5d66542bb96dea43443a3 100644 (file)
@@ -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)