Jump to content

mfogar01

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by mfogar01

  1. In the description of the 'super' function, the following statement is made:

    "Python also has a super() function that will make the child class inherit all the methods and properties from its parent:"

    This does not sound correct to me but I may be misunderstanding so I am looking for comments. My understanding is that the use of the super() function call does not cause the class to inherit all the methods and parents from its parent. It has already done so by placing the name of the parent class in between the brackets in the class statement. Doesn't super() just allow you to invoke methods and properties from the parent class without referring to it explicity?

×
×
  • Create New...