diff options
author | Keshav Kini <keshav.kini@gmail.com> | 2012-02-28 02:54:06 +0800 |
---|---|---|
committer | Keshav Kini <keshav.kini@gmail.com> | 2012-02-28 02:54:06 +0800 |
commit | 7eac6360ba65050769aae8881a00c6b84eecb5c3 (patch) | |
tree | 0a628f8c9cca6ccf0c6df00a66e85170d24d484b /simplejson/encoder.py | |
parent | 627af992fd4d7ba9d106461cc478eb14660e7ca5 (diff) | |
download | simplejson-7eac6360ba65050769aae8881a00c6b84eecb5c3.tar.gz |
Documentation and a test for the previous commit
Diffstat (limited to 'simplejson/encoder.py')
-rw-r--r-- | simplejson/encoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/encoder.py b/simplejson/encoder.py index 17c8fbb..74719d2 100644 --- a/simplejson/encoder.py +++ b/simplejson/encoder.py @@ -171,7 +171,7 @@ class JSONEncoder(object): self.namedtuple_as_object = namedtuple_as_object self.tuple_as_array = tuple_as_array try: - indent = ' ' * indent + indent = indent * ' ' except TypeError: pass self.indent = indent |