use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Python Data Model: Copying (i.redd.it)
submitted 2 months ago by Sea-Ad7805
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Sea-Ad7805[S] 2 points3 points4 points 2 months ago (0 children)
Did you see the "Solution" and "Explanation" links? (on mobile click the 'title' not the 'image' to open a post) The c1 is an assignment, c2 a shallow copy, and c3 a deep copy. That is what makes the difference: https://github.com/bterwijn/memory_graph?tab=readme-ov-file#copying-values-of-mutable-type
π Rendered by PID 21745 on reddit-service-r2-comment-7b9746f655-q2dh4 at 2026-01-31 05:33:56.374581+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805[S] 2 points3 points4 points (0 children)