Acquisition
# Acquisition of a phone number
import Acquisition
# define empty classes that use acquisition
class Location(Acquisition.Implicit): pass
class Individual(Acquisition.Implicit): pass
# create home, work and me objects
home=Location()
home.phone="555-1212"
work=Location()
work.phone="123-4567"
me=Individual()
Previous slide
Next slide
Back to first slide
View graphic version