Below are revisions for this snippet.

Returns a safe copy of a variable





Syndication

Revision Revison 1
Returns a safe copy if the value argument is mutable, otherwise returns the original argument. If the feedback keyword argument is True, then a tuple is returned containing the resulting argument, and whether or not is was mutable.