A Python 3000 Question

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Fri Nov 2 04:35:40 EDT 2007


Steven D'Aprano a écrit :
> 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.

Nor do I, but such an ugly syntax is a sure hint !-)



More information about the Python-list mailing list