Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_ordered_dict.py408 od.move_to_end('c')
410 od.move_to_end('c', 0)
412 od.move_to_end('c', 0)
414 od.move_to_end('e')
416 od.move_to_end('b', last=False)
419 od.move_to_end('x')
421 od.move_to_end('x', 0)
426 od.move_to_end('c', last=False)
428 od.move_to_end('a', last=False)
432 od.move_to_end('a')
[all …]
Dtest_call.py18 od.move_to_end('a')
Dtest_dict.py1228 od.move_to_end('a')
Dtest_builtin.py1968 od.move_to_end('a')
/external/python/cpython3/Doc/library/
Dcollections.rst1060 * :class:`OrderedDict` has a :meth:`move_to_end` method to
1080 .. method:: move_to_end(key, last=True)
1088 >>> d.move_to_end('b')
1091 >>> d.move_to_end('b', last=False)
1129 super().move_to_end(key)
1143 self.move_to_end(key)
/external/python/cpython3/Lib/
Dinspect.py1790 new_params.move_to_end(param_name)
1792 new_params.move_to_end(param_name)
/external/python/cpython3/Misc/NEWS.d/
D3.6.1rc1.rst539 move_to_end() method. Contributed by Andra Bogildea.
D3.5.1rc1.rst408 Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
D3.5.3rc1.rst460 move_to_end() method. Contributed by Andra Bogildea.
D3.6.0a1.rst2667 Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
/external/python/cpython3/Lib/collections/
D__init__.py190 def move_to_end(self, key, last=True): member in OrderedDict
/external/python/cpython3/Doc/whatsnew/
D3.2.rst879 :meth:`~collections.OrderedDict.move_to_end` which takes an existing key and
893 >>> d.move_to_end('X')