The statement:
k = Class2
Is actually assigning the variable k to the class itself, which is a type object. Remember, in Python everything is an object: classes are simply type objects.
>>> class Class2: pass
...
>>> k = Class2
>>> type(k)
>>>
What you want is an instance of Class2. For that you must call Class2's constructor:
k = Class2()