Python深层拷贝

import copy

new_instance = copy.deepcopy(instance)

 

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