class MyCls: attr = 1 def first_method(self): print('hi') def second_method(self, arg): print('there')