Learn Python the Hard Way Ex41.py: "Learning to Speak Object Oriented"
Réussis tes devoirs et examens dès maintenant avec Quizwiz!
super(Child, self).altered()
"call super with arguments Child and self, then call the function altered on whatever it returns."
instancec
what you get when you tell Python to create a class
Object
1) Most basic type of things 2) Any instance of some thing "Anything you get from Python when you create a class" of some thing
self
1) variable for the instance/object accessed 2) inside the functions in a class
def
how you define a function inside a class