Home
last modified time | relevance | path

Searched refs:viewitems (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_dictviews.py14 it = type({}.viewitems())
43 items = d.viewitems()
58 self.assertEqual(d.viewitems(), d.viewitems())
60 self.assertEqual(d.viewitems(), e.viewitems())
62 self.assertNotEqual(d.viewitems(), e.viewitems())
67 self.assertEqual(d.viewkeys(), e.viewitems())
68 self.assertNotEqual(d.viewitems(), e.viewkeys())
79 r = repr(d.viewitems())
135 d1.viewitems() & d1.viewitems(), {('a', 1), ('b', 2)})
136 self.assertEqual(d1.viewitems() & d2.viewitems(), {('b', 2)})
[all …]
Dtest_ordered_dict.py231 od[42] = od.viewitems()
269 self.assertEqual(list(od.viewitems()), [(k, None) for k in s])
273 self.assertEqual(od.viewitems(), dict(od).viewitems())
290 test_support.check_free_after_iterating(self, lambda d: iter(d.viewitems()), OrderedDict)
Dtest_dict.py698 test_support.check_free_after_iterating(self, lambda d: iter(d.viewitems()), dict)
Dtest_sys.py613 check({}.viewitems(), size('P'))
/external/python/funcsigs/funcsigs/
Dodict.py259 def viewitems(self): member in OrderedDict
/external/python/six/
Dsix.py596 viewitems = operator.methodcaller("items") variable
614 viewitems = operator.methodcaller("viewitems") variable
/external/llvm-project/lldb/third_party/Python/module/six/
Dsix.py609 viewitems = operator.methodcaller("items") variable
627 viewitems = operator.methodcaller("viewitems") variable
/external/python/parse_type/tasks/_vendor/
Dsix.py590 viewitems = operator.methodcaller("items") variable
608 viewitems = operator.methodcaller("viewitems") variable
/external/python/setuptools/pkg_resources/_vendor/
Dsix.py590 viewitems = operator.methodcaller("items") variable
608 viewitems = operator.methodcaller("viewitems") variable
/external/python/setuptools/setuptools/_vendor/
Dsix.py590 viewitems = operator.methodcaller("items") variable
608 viewitems = operator.methodcaller("viewitems") variable
/external/scapy/scapy/modules/
Dsix.py600 viewitems = operator.methodcaller("items") variable
618 viewitems = operator.methodcaller("viewitems") variable
/external/python/cpython2/Lib/
Dcollections.py242 def viewitems(self): member in OrderedDict
D_abcoll.py477 ItemsView.register(type({}.viewitems()))
/external/python/cpython2/Doc/library/
Dshelve.rst61 :meth:`~dict.viewvalues`, and :meth:`~dict.viewitems`) are not supported.
Duserdict.rst78 :meth:`~dict.viewvalues`, or :meth:`~dict.viewitems` methods.
D2to3.rst207 :meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
Dstdtypes.rst2283 .. method:: viewitems()
2314 :meth:`dict.viewitems` are *view objects*. They provide a dynamic view on the
/external/python/six/documentation/
Dindex.rst222 .. function:: viewitems(dictionary)
225 :meth:`py2:dict.viewitems` on Python 2.7 and :meth:`py3:dict.items` on
/external/python/cpython3/Doc/library/
D2to3.rst205 :meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
/external/python/cpython2/Misc/NEWS.d/
D2.7.15rc1.rst114 ``repr()`` on a dict containing its own ``viewvalues()`` or ``viewitems()``
/external/python/cpython2/Doc/
Dglossary.rst188 and :meth:`dict.viewitems` are called dictionary views. They provide a dynamic
/external/python/cpython3/Doc/whatsnew/
D2.7.rst558 and :meth:`~dict.viewitems`.
/external/python/cpython2/Doc/whatsnew/
D2.7.rst558 and :meth:`~dict.viewitems`.