Class Inside Class In Python Meaning