Kaydet (Commit) 1379ae02 authored tarafından Georg Brandl's avatar Georg Brandl

Indentation normalization.

üst a74d675f
...@@ -371,9 +371,9 @@ Encoders and decoders ...@@ -371,9 +371,9 @@ Encoders and decoders
def default(self, o): def default(self, o):
try: try:
iterable = iter(o) iterable = iter(o)
except TypeError: except TypeError:
pass pass
else: else:
return list(iterable) return list(iterable)
return JSONEncoder.default(self, o) return JSONEncoder.default(self, o)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment