@classmethod
    def _padded(cls, iter, length, padding=0):
        l = list(iter)
        if len(l) < length:
            for _ in range(length - len(l)):
                l.append(padding)
        return l
dataset/ETHPy150Open mongodb/mongo-python-driver/test/version.py/Version._padded/original