(self, o, _one_shot=False)
| 317 | return u''.join(chunks) |
| 318 | |
| 319 | def iterencode(self, o, _one_shot=False): |
| 320 | chunks = super(JSONEncoderForHTML, self).iterencode(o, _one_shot) |
| 321 | for chunk in chunks: |
| 322 | chunk = chunk.replace('&', '\\u0026') |
| 323 | chunk = chunk.replace('<', '\\u003c') |
| 324 | chunk = chunk.replace('>', '\\u003e') |
| 325 | yield chunk |
| 326 | |
| 327 | |
| 328 | def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, |
no test coverage detected