summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-24 09:47:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-24 09:47:55 (GMT)
commit1379ae02e3c893c01f9a97dc3baa12c9a54a1cab (patch)
treee0629b17f11da2fc67061a706d280c20ca988c1f /Doc
parenta74d675facda18cca2a821be56d49446184b6ea1 (diff)
downloadcpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.zip
cpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.tar.gz
cpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.tar.bz2
Indentation normalization.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/json.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index a0a62d1..bff779b 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)