In message <[EMAIL PROTECTED]>, Gabriel Genellina wrote: > En Fri, 21 Sep 2007 13:34:40 -0300, Jeroen Hegeman > <[EMAIL PROTECTED]> escribi�: > >> class ModerateClass: >> def __init__(self): >> return >> def __del__(self): >> pass >> return >> >> class HugeClass: >> def __init__(self,line): >> self.clear() >> self.input(line) >> return >> def __del__(self): >> del self.B4v >> return >> def clear(self): >> self.long_classes = {} >> self.B4v={} >> return > > (BTW, all those return statements are redundant and useless)
The OP could be trying to use them as some kind of textual indicator of the end of the function. Myself, I prefer end-comments, e.g. class HugeClass : ... def clear(self) : ... #end clear #end HugeClass -- http://mail.python.org/mailman/listinfo/python-list