Learn Python the Hard Way Ex41.py: "Learning to Speak Object Oriented"
Pataasin ang iyong marka sa homework at exams ngayon gamit ang 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