What's the difference between these 2 statements?

tiissa tiissa at nonfree.fr
Wed Apr 20 16:49:21 EDT 2005


Peter Otten wrote:
> Still, for practical purposes you have to test for slicelen >= stringlen, so
> whether you choose None, -len(s)-1, or -sys.maxint as the second slice
> parameter doesn't matter much.

Sure, for practical purposes you don't bother to write extra characters 
and leave it void.
But we knew it from the start of the thread. ;)



More information about the Python-list mailing list