Python深层拷贝

import copy

new_instance = copy.deepcopy(instance)

 

posted @ 2017-06-09 20:56  许小伍  阅读(258)  评论(0编辑  收藏  举报