Lou Pecora a écrit :
> In article <[EMAIL PROTECTED]>,
>  Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> 
> 
>>>Thus:         close;
>>>could replace close();

*Please* give proper attribution. I'd *never* suggest such a thing.

> 
> Wouldn't this give an ambiguity?  
> 
> afcn=close   # make an "alias" to the close function
> val=close()  # set val to the return value of the close function
> 

The point of Colin (who was the one making this suggestion) was that 
parens could be omitted if there was no LHS.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to