(o, _orig_encoder=_encoder, _encoding=self.encoding)
| 338 | _encoder = encode_basestring |
| 339 | if self.encoding != 'utf-8' and self.encoding is not None: |
| 340 | def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding): |
| 341 | if isinstance(o, binary_type): |
| 342 | o = text_type(o, _encoding) |
| 343 | return _orig_encoder(o) |
| 344 | |
| 345 | def floatstr(o, allow_nan=self.allow_nan, ignore_nan=self.ignore_nan, |
| 346 | _repr=FLOAT_REPR, _inf=PosInf, _neginf=-PosInf): |
nothing calls this directly
no outgoing calls
no test coverage detected