Python Forum
[WxPython] Puzzled by classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] Puzzled by classes
#3
(official doc on super)
Quote:Return a proxy object that delegates method calls to a parent or sibling class of type. This is useful for accessing inherited methods that have been overridden in a class. The search order is same as that used by
[url=https://docs.python.org/2/library/functions.html#getattr]getattr()[/url]
except that the type itself is skipped.

A very good explanation can be found here: https://www.blog.pythonlibrary.org/2014/...-is-super/

Personally, I try not to use *args and  **kwargs as they hide the attributes that are being used.
Reply


Messages In This Thread
Puzzled by classes - by Barrowman - Aug-14-2017, 12:58 PM
RE: Puzzled by classes - by nilamo - Aug-14-2017, 02:40 PM
RE: Puzzled by classes - by Larz60+ - Aug-14-2017, 05:21 PM
RE: Puzzled by classes - by nilamo - Aug-14-2017, 05:35 PM

Forum Jump:

User Panel Messages

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