Python and Ruby

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Jan 31 17:36:32 EST 2010


On Sun, 31 Jan 2010 04:28:41 -0800, Ed Keith wrote:

> In most functional languages you just name a function to access it and
> you do it ALL the time.
> 
> for example, in if you have a function 'f' which takes two parameters to
> call the function and get the result you use:
> 
>  f 2 3
> 
> If you want the function itself you use:
> 
>    f

How do you call a function of no arguments?



-- 
Steven



More information about the Python-list mailing list