I have the following code:
class ObjectOne(object): @classmethod def print_class_name(cls): print cls.__class__.__name__ def print_class_nam
It's cls.__name__. cls already points to the class, and now you're getting the name of its class (which is always type).
cls.__name__
cls
type