🔵 🔵 🔵


Primary

၊၊||၊|။

copy ⚬⃕ᵖʸ|Documentation|1st|20260122192714-00-⌔

copy — Shallow and deep copy operations — Python 3.14.2 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 so one can change one copy without changing the other. This module provides generic shallow and deep copy operations (explained below).

Interface summary:

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •