Python Forum
Multiple inheritance - the right way ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple inheritance - the right way ?
#5
Also with super() in Python 3 can avoid referring to the base class explicitly.
super(Left, self).__init__()
# Look better,that this don't work in Python 2 should we not care about anymore
super().__init__()
Reply


Messages In This Thread
RE: Multiple inheritance - the right way ? - by snippsat - Feb-13-2019, 09:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple Inheritance - Help pls! magnusbrigido 1 1,889 May-17-2019, 12:56 PM
Last Post: ichabod801
  Multiple Inheritance using super() Sagar 2 7,380 Sep-08-2017, 08:58 AM
Last Post: Sagar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020