Skip to content

Add example of mutable list sharing - #1200

Open
synckerz wants to merge 3 commits into
realpython:masterfrom
synckerz:docs/issue-1158-mutable-list-copy
Open

synckerz wants to merge 3 commits into
realpython:masterfrom
synckerz:docs/issue-1158-mutable-list-copy

Conversation

@synckerz

@synckerz synckerz commented Nov 8, 2026

Copy link
Copy Markdown

Now look: Document how augmented assignment can modify a shared list and demonstrate using copy() to avoid unintended side effects.

Document how augmented assignment can modify a shared list and demonstrate using copy() to avoid unintended side effects.
Clarified examples of mutable and immutable types in Python.
Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues. That's some bullsh*t.

1 participant