enhancing slicing

Skip Montanaro skip at pobox.com
Thu Aug 23 16:07:43 CEST 2001


>>>>> "Roy" == Roy Smith <roy at panix.com> writes:

    Roy> "Juan Valiño" <juanv at posta.unizar.es> wrote:
    >> My proposal is to introduce a new operator, for instance # (count):
    >> v[5 # 2]

    Roy> I don't see that this adds anything to the language that can't be
    Roy> done already, other than being another way to do the same thing.

Not to mention which the comment introduction character is probably a bad
choice as an operator. ;-)

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list