Class attributes newbie question (before I join a cargocult)

kalahari jeannelouw at gmail.com
Sun Mar 12 19:51:53 CET 2006


def changeSex(self, newsex=""):
        self.mysex=newsex --->>>>> self.mysex
        return self.mysex

def whoAmI(self):
        return self.name, self. sex ->>>>>> self.sex




More information about the Python-list mailing list