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', False)
412 od.move_to_end('c', False)
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', False)
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.py1398 od.move_to_end('a')
Dtest_builtin.py2217 od.move_to_end('a')
/external/python/cpython3/Doc/library/
Dcollections.rst1076 * :class:`OrderedDict` has a :meth:`move_to_end` method to
1096 .. method:: move_to_end(key, last=True)
1104 >>> d.move_to_end('b')
1107 >>> d.move_to_end('b', last=False)
1149 self.move_to_end(key)
1163 self.move_to_end(key)
1168 self.move_to_end(key)
/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.rst2666 Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
/external/python/cpython3/Lib/
Dinspect.py1829 new_params.move_to_end(param_name)
1831 new_params.move_to_end(param_name)
/external/python/cpython3/Lib/collections/
D__init__.py198 def move_to_end(self, key, last=True): member in OrderedDict
/external/python/cpython3/Doc/whatsnew/
D3.2.rst881 :meth:`~collections.OrderedDict.move_to_end` which takes an existing key and
895 >>> d.move_to_end('X')