Apr-07-2020, 11:21 AM
If you want to check if an object is a copy or a reference to the same object, using the
It only matters for mutable objects that you plan on modifying, though.
is
operator is probably simplest.It only matters for mutable objects that you plan on modifying, though.