Home
last modified time | relevance | path

Searched refs:viewvalues (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_dictviews.py16 vt = type({}.viewvalues())
71 values = d.viewvalues()
86 r = repr(d.viewvalues())
171 d[42] = d.viewvalues()
184 self.assertIsInstance(d.viewvalues(), collections.ValuesView)
185 self.assertIsInstance(d.viewvalues(), collections.MappingView)
186 self.assertIsInstance(d.viewvalues(), collections.Sized)
198 self.assertRaises(TypeError, copy.copy, d.viewvalues())
207 pickle.dumps, d.viewvalues(), proto)
Dtest_ordered_dict.py255 self.assertEqual(list(od.viewvalues()), [None for k in s])
276 test_support.check_free_after_iterating(self, lambda d: iter(d.viewvalues()), OrderedDict)
Dtest_dict.py690 test_support.check_free_after_iterating(self, lambda d: iter(d.viewvalues()), dict)
Dtest_sys.py600 check({}.viewvalues(), size('P'))
/external/python/cpython2/Lib/
Dcollections.py238 def viewvalues(self): member in OrderedDict
D_abcoll.py491 ValuesView.register(type({}.viewvalues()))
/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.rst214 :meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
Dstdtypes.rst2295 .. method:: viewvalues()
2311 The objects returned by :meth:`dict.viewkeys`, :meth:`dict.viewvalues` and
2374 >>> values = dishes.viewvalues()
/external/python/cpython2/Doc/
Dglossary.rst186 The objects returned from :meth:`dict.viewkeys`, :meth:`dict.viewvalues`,
/external/python/cpython2/Doc/whatsnew/
D2.7.rst557 under the new names :meth:`~dict.viewkeys`, :meth:`~dict.viewvalues`,