Nick> def getName(self): Nick> assert self.__initialized, "Thread.__init__() not called" Nick> return self.__name
Why is __name private to begin with? Any reason for the getters and setters? Why isn't this just an attribute? Raymond _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com