[IronPython] Slice assignment in array

Sanghyeon Seo sanxiyn at gmail.com
Mon Dec 17 19:28:02 PST 2007


>>> import clr
>>> abc = 'abc'.ToCharArray()
>>> cd = 'cd'.ToCharArray()
>>> abc[1:] = cd
Traceback (most recent call last):
ValueError: cannot do slice assignment w/ no step

-- 
Seo Sanghyeon


More information about the Users mailing list