s[1] being a list index of the list 's' s[1,] being a set literal with one element, '1'
On 17/04/07, Eoghan Murray <[EMAIL PROTECTED]> wrote:
I had another idea on this theme.. going by unicode and raw string literals, how about s[1, 2, 3, 4] for a set? Eoghan On 17/04/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > > DillonCo wrote: > > > Why not use "<>" for sets? > > Some possible reasons: > > * It would look ugly > > * There could be visual confusion with comparison operators > > * There could be parsing difficulties distinguishing > nested set bracketing from << and >> operators > > -- > Greg > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/eoghan%40qatano.com > -- http://qatano.com/ http://eoghan.qatano.org/ +353 86 236 1190
-- http://qatano.com/ http://eoghan.qatano.org/ +353 86 236 1190
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com