Class Structure In Python Mean