/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_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...] |
test_pydoc.py | 387 self.assertIn('_asdict', helptext)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
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...] |
test_pydoc.py | 387 self.assertIn('_asdict', helptext)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
collections.py | 258 def _asdict(self): 296 >>> d = p._asdict() # convert to a dictionary
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
collections.py | 258 def _asdict(self): 296 >>> d = p._asdict() # convert to a dictionary
|
/external/chromium_org/tools/telemetry/docs/ |
telemetry.core.memory_cache_http_server.html | 84 <dl><dt><a name="ByteRange-_asdict"><strong>_asdict</strong></a>(self)</dt><dd><tt>Return a new OrderedDict which maps field names to their values</tt></dd></dl> [all...] |