In message <87eikjcuzk....@benfinney.id.au>, Ben Finney wrote:

> Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand> writes:
> 
>> In message <hlhdsi$2p...@theodyn.ncf.ca>, cjw wrote:
>>
>> > Aren't lambda forms better described as function?
>>
>> Is this a function?
>>
>>     lambda : None
>>
>> What about this?
>>
>>     lambda : sys.stdout.write("hi there!\n")
> 
> They are both lambda forms in Python. As a Python expression, they
> evaluate to (they “return”) a function object.

So there is no distinction between functions and procedures, then?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to