swap_item method

swap_item

Directly swap two items.

def swap_item(self, index1, index2):
    ...
ParameterTypeDescription
index1int
index2int

See Also