Shallow copy

shallowcopyShallow copy

import copy
box2 = copy.copy(box)
p. 279

from:
Think Python 2e
©2016
by Allen B. Downey
http://greenteapress.com/wp/think-python-2e

Advertisements

One thought on “Shallow copy

  1. Pingback: Think Python, 2e ©2016 | franzcalvo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s