import copy


class Crazy(object):

    def __init__(self, body, weird=copy.copy):
        self.gomez = body
self.cousinitt = weird

def __mul__(self, n):
    return [self.cousinitt(x) for x in self.gomez * n]
a = Crazy([[]]) * 3
Python - Using the Multiply Operator to Create Copies of Objects in Lists