New submission from Naresh <naresh_kumar23...@yahoo.com>:

example : list=['abcd', 786 , 2.23, 'john', 70.2 ]
          print list[0:-1]
      output:      ['abcd', 786 , 2.23, 'john']
is this expected behavior because list[0:-1] is supposed to print list from 
starting to end but this is not happening

----------
messages: 1884
nosy: naresh_kumar23...@yahoo.com
priority: bug
status: unread
title: problem while accessing value using the slice operator []

_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue366>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to