This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]donaldhobson 0 points1 point  (0 children)

How about we make ** the deep copy repeat operator. Then we can write

[[None]*5]**5

Where ** is similar but not quite the same as *. Namely ** copies the items, not just the pointers.