2 ms·
yes. (also, newdict = dict(data) seems more natural to me since the same idiom can be used for copying lists, which don't have a copy method).
by andrewcooke 17y ago
yes.
(also, newdict = dict(data) seems more natural to me since the same idiom can be used for copying lists, which don't have a copy method).