list Integer indexing dies??

Serhiy Storchaka1745620946 storchaka at ksf.kiev.ua
Thu Dec 23 15:12:22 EST 2004


Ishwor wrote:
> On Thu, 23 Dec 2004 11:17:57 -0300, Batista, Facundo
>>Well, because the integer is not a subscriptable object.... 
> 
> If i see this code 'a'[0] then what does it really say about semantics
> ?? Really its hard for me to digest that 'a'[0] is supported by Python
> where as 1[0] isn't.

5.2/3 is supported by Python, but 'a'/'b' isn't.

-- 
Serhiy Storchaka



More information about the Python-list mailing list