title: Prevent certain attributes to be inherited in child class
body: <p>Need some help to solve this puzzle folks:</p>
  <p>When creating a child class in Python and defining the init method, I would like to import all the attributes of the super/parent class except certain positional parameters and
  certain parameters (which are not defined inside parent classes' init method's list of positional or keyworded/non-keworded parameters but) defined within/inside the parent class init method with a default value.</p>
  <p>Is there a way to prevent/avoid certain/specific parent class attributes to be imported in the child class upon initiation? I am aware that we can override methods in the child class which do not mimic parent class behaviors, but I am not aware how to do the same with attributes, so I was thinking if I could avoid them completely!</p>
  <p>I will give an example of why I need a certain child class to mimic everything from its parent except certain attribute.</p>
  <p>Consider a parent class &quot;Car&quot;. The child class will be &quot;ElectricCar&quot;. The parent class has an attribute defined called &quot;liters_gasoline&quot; with certain integer as  its default value.</p>
  <p>Now, I would like to inherit everything in the ElectricCar sub-class except that &quot;liters_gasoline&quot; parameter, because ElectricCars don't use fuel/gasoline. How to prevent this &quot;liters_gasoline&quot; parameter from being inherited in the child class? I don't want this parameter in child class!</p>
  <p>How to do this?</p>