Gadfly Question: TypeError on __Init__

David invalid.address at 127.0.0.1
Sat Jun 24 22:11:22 EDT 2000


On Sat, 24 Jun 2000 12:53:48 GMT, Marcos Sánchez Provencio
<rapto at arrakis.es> wrote:

>I believe that __init__ should always return None (what functions do
>silently when they don't find a return clause).
>
>Leave the error to propagate, should there be any. Catch it in the
>calling code.


Ahhhhh!  Yes, yes, yes!  IIRC, my original code didn't actually have it as
a danged class, it was a function!
 
Guh!





More information about the Python-list mailing list