How "return" no return ?

Grant Edwards grante at visi.com
Thu May 12 11:51:05 EDT 2005


On 2005-05-12, Tim Williams <listserver at tdw.net> wrote:
> "Ximo" <elrei69 at yahoo.es> wrote in message
> news:3ehaurF34ak0U1 at individual.net...
>> Hello, I want that the return sentence don't return anything, how can I do
>> it?. If i do only return it returns None, and pass don't run too.
>>
>> Can anyone help me?, thanks.
>> XIMO
>>
>
> Just don't use a return statement at all,

That's exactly the same as "return None"

-- 
Grant Edwards                   grante             Yow!  World War Three can
                                  at               be averted by adherence
                               visi.com            to a strictly enforced
                                                   dress code!



More information about the Python-list mailing list