Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Jacob Fong
3,754 PointsWhy don't we include self when we call super().__init__(name, **kwargs)?
We usually include self as an argument in other class methods. Why don't we do, then, super().init(self, name, **kwargs)?
1 Answer

Steven Parker
225,652 PointsThe first parameter in a method is a reference to the object it was called on, it's not passed explicitly as an argument when the method is called.
Jacob Fong
3,754 PointsJacob Fong
3,754 PointsThat is true, I see, but don't we include a self when doing a traditional
def __init__?
Steven Parker
225,652 PointsSteven Parker
225,652 PointsI corrected my answer, take another look.