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! While you're at it, check out some resources Treehouse students have shared here.
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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Sohail Mirza](https://secure.gravatar.com/avatar/0b70940f69e505dc2918e7c43bedc749?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Sohail Mirza
Python Web Development Techdegree Student 5,158 Pointsoverride init
Not sure where to start from. but bascially when kenneth talks begins to talk about the init (4.30) and create the class Fillledlist he says the following So, first things first, let's go ahead and super, and then init. And we're going to ignore everything that was passed in. I don't care what they gave me. All I want is an empty list when I get to the end of this, okay? So at this point, right now, I have a brand new, empty list instance, stored inside of self.
what does he mean we are going to ignore everything and i want is a empty list this sounds very confusing..could someone please explain
1 Answer
![Chris Freeman](https://uploads.teamtreehouse.com/production/profile-photos/1153532/micro_image.jpg)
Chris Freeman
Treehouse Moderator 68,425 PointsKenneth means: "All I want is an empty list when I get to the end of [creating the list using the super
command]"
and "we are going to ignore everything passed in (count
, value
, and any arbitrary positional arguments and keyword arguments) for now. We'll use the count
and value
later on".
*args
absorbs any additional positional arguments and puts them in the tuple args
, and **kwargs
absorbs all of the additional keyword arguments and puts them into the dict kwargs
The self
attribute points to the newly created list.
Post back if you need more help. Good luck!!
Ali Al Dairawi
1,869 PointsAli Al Dairawi
1,869 PointsChris Freeman thank you for your explanation.