def __init__(self, families=None):
        """Instantiate the Party object."""
        self.families = []
        if isinstance(families, Family):
            families = [families]
        if families:
            self.families.extend(families)
def __init__ ( self , families = None ) : self . families = [ ] if isinstance ( families , Family ) : families = [ families ] if families : self . families . extend ( families )
Instantiate the Party object.