First, you need to note that you are creating class variables in SomeClass, not instance variables
class SomeClass(object):
def __init__(self, name = "whatever", task = "nothing"):
self.name = name
self.task = task
Now we have designed a class, which accepts two keyword arguments with default values. So, if you don't pass values to any of them, by default whatever will be assigned to name and nothing will be assigned to task.
class ChildClass(SomeClass):
def __init__(self, name = "whatever", task = "nothing"):
super(ChildClass, self).__init__(name, task)
child1 = ChildClass(task = "sometask")
print child1.name, child1.task
# whatever sometask
child2 = ChildClass()
print child2.name, child2.task
# whatever nothing