Take the following example:
class User:
    name = ""
    def __init__(self, name):
        self.name = name
What is the point of declaring name = "" if you have to specify name anyway when you construct it?
Take the following example:
class User:
    name = ""
    def __init__(self, name):
        self.name = name
What is the point of declaring name = "" if you have to specify name anyway when you construct it?
 
    
    You'd have to ask the person that did it, since that is a very broad question. Maybe git blame will help.
In general there is no point. They're different things: class attribute and instance attribute. One would be data associated with the type of object, the other with individual instances of the object.
