commit | 1379ae02e3c893c01f9a97dc3baa12c9a54a1cab | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Sep 24 09:47:55 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Sep 24 09:47:55 2008 +0000 |
tree | e0629b17f11da2fc67061a706d280c20ca988c1f | |
parent | a74d675facda18cca2a821be56d49446184b6ea1 [diff] [blame] |
Indentation normalization.
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 @@ def default(self, o): try: - iterable = iter(o) + iterable = iter(o) except TypeError: - pass + pass else: return list(iterable) return JSONEncoder.default(self, o)