Searched refs:_asdict (Results 1 – 14 of 14) sorted by relevance
/third_party/python/Lib/test/ |
D | test_c_locale_coercion.py | 130 return dict(cls(fs_encoding, *stream_info, *env_info)._asdict()) 152 child_encoding_details = dict(cls(*stdout_lines)._asdict())
|
D | test_collections.py | 481 self.assertEqual(p._asdict(), dict(x=11, y=22)) # test _asdict method 528 self.assertEqual(Zero()._asdict(), {}) 536 self.assertEqual(Dot(1)._asdict(), {'d':1}) 551 d = b._asdict() 632 self.assertEqual(t._asdict(), dict(zip(T._fields, values))) 666 self.assertEqual(a._asdict(), OrderedDict([('x', 3), ('y', 4)]))
|
/third_party/node/deps/v8/tools/ |
D | gen-inlining-tests.py | 300 trueFlagNames = [name for (name, value) in flags._asdict().items() if value]
|
/third_party/python/Lib/collections/ |
D | __init__.py | 443 def _asdict(self): function 457 _asdict, 473 '_asdict': _asdict,
|
/third_party/jerryscript/tools/pylint/ |
D | pylintrc | 371 exclude-protected=_asdict,_fields,_replace,_source,_make
|
/third_party/python/Doc/library/ |
D | collections.rst | 940 .. method:: somenamedtuple._asdict() 948 >>> p._asdict() 959 ``OrderedDict(nt._asdict())``.
|
/third_party/astc-encoder/ |
D | .pylintrc | 441 exclude-protected=_asdict,
|
/third_party/python/Tools/c-analyzer/c_parser/ |
D | info.py | 902 vartype = data._asdict()
|
/third_party/python/Doc/whatsnew/ |
D | 3.1.rst | 70 order. The *_asdict()* method for :func:`collections.namedtuple` now
|
D | 3.8.rst | 699 The :meth:`~collections.somenamedtuple._asdict` method for 704 result to the desired type: ``OrderedDict(nt._asdict())``.
|
D | 2.7.rst | 294 * The :meth:`~collections.somenamedtuple._asdict()` method for
|
D | 2.6.rst | 1869 >>> var._asdict()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 1777 The _asdict() method for collections.namedtuple now returns a regular dict
|
/third_party/python/Misc/ |
D | HISTORY | 415 which breaks the inherited __dict__ property and breaks the _asdict() method. 416 Removed the __dict__ property to prevent the conflict and fixed _asdict(). 15562 - The _asdict() for method for namedtuples now returns an OrderedDict().
|