Method
_encoder
(o, _orig_encoder=_encoder, _encoding=self.encoding)
Source from the content-addressed store, hash-verified
| 262 | _encoder = encode_basestring |
| 263 | if self.encoding != 'utf-8': |
| 264 | def _encoder(o, _orig_encoder=_encoder, _encoding=self.encoding): |
| 265 | if isinstance(o, str): |
| 266 | o = o.decode(_encoding) |
| 267 | return _orig_encoder(o) |
| 268 | |
| 269 | def floatstr(o, allow_nan=self.allow_nan, |
| 270 | _repr=FLOAT_REPR, _inf=PosInf, _neginf=-PosInf): |
Callers
nothing calls this directly
Tested by
no test coverage detected