From 1379ae02e3c893c01f9a97dc3baa12c9a54a1cab Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 24 Sep 2008 09:47:55 +0000 Subject: [PATCH] Indentation normalization. --- Doc/library/json.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index a0a62d137018..bff779be57e4 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) -- 2.47.3