Question about concatenation error

Terry Reedy tjreedy at udel.edu
Wed Sep 7 14:01:36 EDT 2005


"colonel" <thecamel at camelrichard.org> wrote in message 
news:cu5uh1h6nubs7mm0f2fmdc2de58f9nrq87 at 4ax.com...
> so can anyone tell me why "cleanlink" gets coverted to a list?
>  Is it during the slicing?

Steve answered for you, but for next time, you could find out faster by 
either using the all-purpose debuging tool known as 'print' or, with 
Python, the handy-dandy interactive window:
>>> [1,2,3][1:2]
[2]

Terry J. Reedy






More information about the Python-list mailing list