티스토리 뷰

Standard Library

copy(), deepcopy()

nickas 2019. 7. 5. 17:54

 

 


copy(Shallow and deep copy operations)

 

copy — Shallow and deep copy operations — Python 3.7.4rc2 documentation

copy — Shallow and deep copy operations Source code: Lib/copy.py Assignment statements in Python do not copy objects, they create bindings between a target and an object. For collections that are mutable or contain mutable items, a copy is sometimes needed

docs.python.org

 

'Standard Library' 카테고리의 다른 글

dis  (0) 2019.07.05
JSON  (0) 2019.07.02
최근에 올라온 글
글 보관함