> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alan Gauld > Sent: Friday, June 01, 2007 12:24 PM > To: tutor@python.org > Subject: Re: [Tutor] Design Question > > remove_question(self,question) -- returns True if the question > > was removed, False otherwise > > Doesn't sound like, better to use a question style name like > is_removed(question) >
Would it be better to have remove_question remove the question or raise an exception if it can't remove the question? Then you'd put the call to remove question in a try except block. Mike _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor