- Code: Select all
>a=[1,2,3,4]
>b=[5,6,7,8]
>c=mapping_function(a,b)
>print c
[1,2,3,4,5,6,7,8]
>c[0]="foo"
>print a
['foo',2,3,4]
I have a shape class containing path objects which contain points and I want shape.points to be a list referring to the points in each path in shape.
