Il Sun, 09 Jul 2006 04:24:01 GMT, crystalattice ha scritto: > I can't see why it's saying this because Character.__init__(self) not only > has self.attrib_dict = {} but it also calls the setAttribute method > explicitly for each attribute name. If I do a print out of the dictionary > just for Character, the attributes are listed.
Are you sure attrib_dict is a class attribute? Aren't you defining it in charachter's __init__ method, thus making it an instance attribute? -- Alan Franzoni <[EMAIL PROTECTED]> - Togli .xyz dalla mia email per contattarmi. Rremove .xyz from my address in order to contact me. - GPG Key Fingerprint: 5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E - Blog: http://laterradeglieroi.verdiperronchi.com -- http://mail.python.org/mailman/listinfo/python-list