Function
_make_iterencode
(markers, _default, _encoder, _indent, _floatstr,
_key_separator, _item_separator, _sort_keys, _skipkeys, _one_shot,
_use_decimal, _namedtuple_as_object, _tuple_as_array,
## HACK: hand-optimized bytecode; turn globals into locals
False=False,
True=True,
ValueError=ValueError,
basestring=basestring,
Decimal=Decimal,
dict=dict,
float=float,
id=id,
int=int,
isinstance=isinstance,
list=list,
long=long,
str=str,
tuple=tuple,
)
Source from the content-addressed store, hash-verified
| 326 | |
| 327 | |
| 328 | def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, |
| 329 | _key_separator, _item_separator, _sort_keys, _skipkeys, _one_shot, |
| 330 | _use_decimal, _namedtuple_as_object, _tuple_as_array, |
| 331 | ## HACK: hand-optimized bytecode; turn globals into locals |
| 332 | False=False, |
| 333 | True=True, |
| 334 | ValueError=ValueError, |
| 335 | basestring=basestring, |
| 336 | Decimal=Decimal, |
| 337 | dict=dict, |
| 338 | float=float, |
| 339 | id=id, |
| 340 | int=int, |
| 341 | isinstance=isinstance, |
| 342 | list=list, |
| 343 | long=long, |
| 344 | str=str, |
| 345 | tuple=tuple, |
| 346 | ): |
| 347 | |
| 348 | def _iterencode_list(lst, _current_indent_level): |
| 349 | if not lst: |
Tested by
no test coverage detected