1 2 3 4 5 6 7
class A(): def __init__(self): self.n = [1, 2, 3, 4, 5] a = A() print a.n print a.n.extend([6, 7, 8, 9])
1 2
[1, 2, 3, 4, 5] None