def reverse(self):
        n = len(self)
        for i in range(n//2):
            self[i], self[n-i-1] = self[n-i-1], self[i]
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/_abcoll.py/MutableSequence.reverse/original