diff options
author | Georg Brandl <georg@python.org> | 2008-09-24 09:47:55 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-09-24 09:47:55 (GMT) |
commit | 1379ae02e3c893c01f9a97dc3baa12c9a54a1cab (patch) | |
tree | e0629b17f11da2fc67061a706d280c20ca988c1f /Doc | |
parent | a74d675facda18cca2a821be56d49446184b6ea1 (diff) | |
download | cpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.zip cpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.tar.gz cpython-1379ae02e3c893c01f9a97dc3baa12c9a54a1cab.tar.bz2 |
Indentation normalization.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/json.rst | 4 |
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) |