标签: python list new-operator
如何在python中执行以下操作?
a = ['foo'] b = a b.append('bar') print(a) # ['foo'] print(b) # ['foo', 'bar']
我本质上需要其他关键字的“新”行为