kini/simplejson — comment on commit 7eac6360ba65050769aae8881a00c6b84eecb5c3
File: simplejson/encoder.py line 174
By kini:

In making the class for the test, I noticed that I needed this further change. In [my original use case](https://github.com/sagemath/sagelib/blob/08b0a5c081616e3ed8537d613911f7e7b1a9663a/sage/structure/element.pyx#L1564), the class, or perhaps some other mechanism in the environment there, seems to be smart enough even to be able to handle `' ' * indent`, but my toy example (and thus perhaps other users' examples) cannot. This diff chunk is not a regression fix, though, because such objects wouldn't have worked anyway before the indent parameter to the `JSONEncoder` constructor was made a string instead of an int, as far as I understand. (?)