8.2.15.1.80. move_to_endΒΆ

Solution.move_to_end(key, last=True)

Move an existing element to the end (or beginning if last is false).

Raise KeyError if the element does not exist.