You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the copy() method docstring shows several examples how mutations are propagated for shallow copies ("Any changes to the data of the original will be reflected in the shallow copy (and vice versa)." in the main description, "Updates to the data shared by shallow copy and original is reflected in both; deep copy remains unchanged." in the examples section)
While is this of course still correct with the default behaviour, given that this is completely incorrect when CoW is enabled, I would at least start with adding a note about this (and for example referring to the Copy-on-Write documentation).
The text was updated successfully, but these errors were encountered:
Currently the
copy()
method docstring shows several examples how mutations are propagated for shallow copies ("Any changes to the data of the original will be reflected in the shallow copy (and vice versa)." in the main description, "Updates to the data shared by shallow copy and original is reflected in both; deep copy remains unchanged." in the examples section)While is this of course still correct with the default behaviour, given that this is completely incorrect when CoW is enabled, I would at least start with adding a note about this (and for example referring to the Copy-on-Write documentation).
The text was updated successfully, but these errors were encountered: