HomeSort by relevance Sort by last modified time
    Searched refs:_asdict (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/simplejson/
encoder.py 160 ``_asdict()`` methods will be encoded as JSON objects.
412 _asdict = _namedtuple_as_object and getattr(value, '_asdict', None)
413 if _asdict and callable(_asdict):
414 chunks = _iterencode_dict(_asdict(),
504 _asdict = _namedtuple_as_object and getattr(value, '_asdict', None)
505 if _asdict and callable(_asdict)
    [all...]
__init__.py 193 :class:`tuple` subclasses with ``_asdict()`` methods will be encoded
290 :class:`tuple` subclasses with ``_asdict()`` methods will be encoded
_speedups.c 207 PyObject *_asdict = PyObject_GetAttrString(obj, "_asdict"); local
208 if (_asdict == NULL) {
212 rval = PyCallable_Check(_asdict);
213 Py_DECREF(_asdict);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pydoc.py 387 self.assertIn('_asdict', helptext)
test_collections.py 86 self.assertEqual(p._asdict(), dict(x=11, y=22)) # test _asdict method
129 self.assertEqual(Zero()._asdict(), {})
137 self.assertEqual(Dot(1)._asdict(), {'d':1})
153 d = b._asdict()
206 # test _asdict
207 self.assertEqual(t._asdict(), dict(zip(T._fields, values)))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pydoc.py 387 self.assertIn('_asdict', helptext)
test_collections.py 86 self.assertEqual(p._asdict(), dict(x=11, y=22)) # test _asdict method
129 self.assertEqual(Zero()._asdict(), {})
137 self.assertEqual(Dot(1)._asdict(), {'d':1})
153 d = b._asdict()
206 # test _asdict
207 self.assertEqual(t._asdict(), dict(zip(T._fields, values)))
    [all...]

Completed in 489 milliseconds