A Python 3000 Question

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Fri Nov 2 08:29:06 CET 2007


On Fri, 02 Nov 2007 03:40:59 +0000, Tim Roberts wrote:

> Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:
> 
>>On Wed, 31 Oct 2007 22:48:12 -0700, Carl Banks wrote:
>>
>>>> I hope you're not serious that $# would make a good operator.
>>> 
>>> If you happen to know where I borrowed it from, it would be pretty
>>> evident that I wasn't being serious.
>>
>>Ooh, now I'm curious.
> 
> Seriously?  You didn't know that $#x in perl returns the length of the
> array @x, minus 1?



I don't speak Perl. You know there are million of us who have managed to 
avoid it.


-- 
Steven.



More information about the Python-list mailing list