Home
last modified time | relevance | path

Searched refs:iterencode (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/json/
D__init__.py179 iterable = _default_encoder.iterencode(obj)
186 default=default, sort_keys=sort_keys, **kw).iterencode(obj)
Dencoder.py207 chunks = self.iterencode(o, _one_shot=True)
212 def iterencode(self, o, _one_shot=False): member in JSONEncoder
/external/python/cpython2/Lib/test/
Dtest_codecs.py1345 "".join(codecs.iterencode(u"python.org", "idna")),
1349 "".join(codecs.iterencode(u"python.org.", "idna")),
1353 "".join(codecs.iterencode(u"pyth\xf6n.org.", "idna")),
1357 "".join(codecs.iterencode(u"pyth\xf6n.org.", "idna")),
1693 codecs.iterencode(s, encoding), encoding))
1698 codecs.iterencode(u"", encoding), encoding))
/external/python/cpython2/Doc/library/
Djson.rst96 >>> list(ComplexEncoder().iterencode(2 + 1j))
485 .. method:: iterencode(o)
490 for chunk in JSONEncoder().iterencode(bigobject):
Dcodecs.rst285 .. function:: iterencode(iterable, encoding[, errors])
/external/python/cpython2/Lib/
Dcodecs.py1011 def iterencode(iterator, encoding, errors='strict', **kwargs): function