class of python