Name
super — Python 2.2 and later
Synopsis
super(cls
,obj
)
Returns a super object of object obj
(which must be an instance of class cls
or
of a subclass of cls
), suitable for
calling superclass methods. In practice, you call this built-in type
only within a method’s code. See Section 5.2.5.2.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.